summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2005-06-05 23:40:21 +0000
committerScott Ullrich <sullrich@pfsense.org>2005-06-05 23:40:21 +0000
commitf8e335a3161234d680a0b413eba89b2ec68d6437 (patch)
tree9454fa8f52ee9bf74c6baac35da69ed31df72a31
parent64092c34bdb44b132ff4e87b1f6715d220540fe0 (diff)
downloadpfsense-f8e335a3161234d680a0b413eba89b2ec68d6437.zip
pfsense-f8e335a3161234d680a0b413eba89b2ec68d6437.tar.gz
Include pkg-utils.inc to atleast get the scripts running again. It doesn't install correctly however.
-rwxr-xr-xusr/local/www/pkg_edit.php1
-rwxr-xr-xusr/local/www/pkg_mgr.php2
-rwxr-xr-xusr/local/www/pkg_mgr_install.php1
-rwxr-xr-xusr/local/www/pkg_mgr_installed.php1
4 files changed, 4 insertions, 1 deletions
diff --git a/usr/local/www/pkg_edit.php b/usr/local/www/pkg_edit.php
index 3ac2429..fb269c3 100755
--- a/usr/local/www/pkg_edit.php
+++ b/usr/local/www/pkg_edit.php
@@ -42,6 +42,7 @@
require("guiconfig.inc");
require("xmlparse_pkg.inc");
+require_once("pkg-utils.inc");
$pfSense_config = $config; // copy this since we will be parsing
// another xml file which will be clobbered.
diff --git a/usr/local/www/pkg_mgr.php b/usr/local/www/pkg_mgr.php
index cc05f63..78de506 100755
--- a/usr/local/www/pkg_mgr.php
+++ b/usr/local/www/pkg_mgr.php
@@ -29,7 +29,7 @@
*/
require("guiconfig.inc");
-require("pkg-utils.inc");
+require_once("pkg-utils.inc");
if ($_POST) {
diff --git a/usr/local/www/pkg_mgr_install.php b/usr/local/www/pkg_mgr_install.php
index 313c5e4..d5d894d 100755
--- a/usr/local/www/pkg_mgr_install.php
+++ b/usr/local/www/pkg_mgr_install.php
@@ -31,6 +31,7 @@
require("guiconfig.inc");
require("xmlparse_pkg.inc");
+require_once("pkg-utils.inc");
conf_mount_rw();
diff --git a/usr/local/www/pkg_mgr_installed.php b/usr/local/www/pkg_mgr_installed.php
index fbf74fc..9f87481 100755
--- a/usr/local/www/pkg_mgr_installed.php
+++ b/usr/local/www/pkg_mgr_installed.php
@@ -30,6 +30,7 @@
require("guiconfig.inc");
require("pkg-utils.inc");
+require_once("pkg-utils.inc");
foreach($config['installedpackages']['package'] as $instpkg) {
$tocheck[] = $instpkg['name'];
OpenPOWER on IntegriCloud