summaryrefslogtreecommitdiffstats
path: root/usr/local
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2005-03-21 21:39:24 +0000
committerScott Ullrich <sullrich@pfsense.org>2005-03-21 21:39:24 +0000
commit19fc85b371baad628924ab850a7f90b208c6c123 (patch)
treeaedf4c206ebe003abff450ab4da778982b1a4a2d /usr/local
parentce3559dd6aa1a7142c266b27e8ef4d2694826717 (diff)
downloadpfsense-19fc85b371baad628924ab850a7f90b208c6c123.zip
pfsense-19fc85b371baad628924ab850a7f90b208c6c123.tar.gz
Do not eval custom_php_install_command unless it exists
Diffstat (limited to 'usr/local')
-rwxr-xr-xusr/local/www/pkg_mgr_install.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr/local/www/pkg_mgr_install.php b/usr/local/www/pkg_mgr_install.php
index 04bd200..1ea2d19 100755
--- a/usr/local/www/pkg_mgr_install.php
+++ b/usr/local/www/pkg_mgr_install.php
@@ -422,7 +422,7 @@ foreach ($packages_to_install as $id) {
update_progress_bar($pb_percent);
$pb_percent += 10;
- if($package_conf['custom_php_install_command']) {
+ if($package_conf['custom_php_install_command'] <> "") {
if($package_conf['custom_php_global_functions'] <> "")
if(php_check_syntax($package_conf['custom_php_global_functions'], $error_message) == false)
eval($package_conf['custom_php_global_functions']);
OpenPOWER on IntegriCloud