Project

General

Profile

« Previous | Next » 

Revision e1ac4a84

Added by Doktor Notor over 8 years ago

Remove duplicate pfSenseHeader() function

Sort includes while here.

View differences:

src/usr/local/www/pkg_edit.php
28 28

  
29 29
ini_set('max_execution_time', '0');
30 30

  
31
require_once("guiconfig.inc");
32
require_once("functions.inc");
33 31
require_once("filter.inc");
32
require_once("functions.inc");
33
require_once("guiconfig.inc");
34 34
require_once("shaper.inc");
35 35
require_once("pkg-utils.inc");
36

  
37
/* dummy stubs needed by some code that was MFC'd */
38
function pfSenseHeader($location) {
39
	header("Location: " . $location);
40
}
36
require_once("pfsense-utils.inc");
41 37

  
42 38
$xml = htmlspecialchars($_REQUEST['xml']);
43 39

  

Also available in: Unified diff