diff options
author | doktornotor <notordoktor@gmail.com> | 2017-03-08 19:53:39 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-03-08 19:53:39 +0100 |
commit | e1ac4a841725a171ece9af45d4d86be30640cb63 (patch) | |
tree | ba5917c04c4751490e15f3dcf20e270e7c38281d | |
parent | c35d12948f9c9926f3032fd084b029c8b54d1a21 (diff) | |
download | pfsense-e1ac4a841725a171ece9af45d4d86be30640cb63.zip pfsense-e1ac4a841725a171ece9af45d4d86be30640cb63.tar.gz |
Remove duplicate pfSenseHeader() function
Sort includes while here.
-rw-r--r-- | src/usr/local/www/pkg_edit.php | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/src/usr/local/www/pkg_edit.php b/src/usr/local/www/pkg_edit.php index 559645b..747fbc6 100644 --- a/src/usr/local/www/pkg_edit.php +++ b/src/usr/local/www/pkg_edit.php @@ -28,16 +28,12 @@ ini_set('max_execution_time', '0'); -require_once("guiconfig.inc"); -require_once("functions.inc"); require_once("filter.inc"); +require_once("functions.inc"); +require_once("guiconfig.inc"); require_once("shaper.inc"); require_once("pkg-utils.inc"); - -/* dummy stubs needed by some code that was MFC'd */ -function pfSenseHeader($location) { - header("Location: " . $location); -} +require_once("pfsense-utils.inc"); $xml = htmlspecialchars($_REQUEST['xml']); |