diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2005-03-21 21:39:24 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2005-03-21 21:39:24 +0000 |
commit | 19fc85b371baad628924ab850a7f90b208c6c123 (patch) | |
tree | aedf4c206ebe003abff450ab4da778982b1a4a2d | |
parent | ce3559dd6aa1a7142c266b27e8ef4d2694826717 (diff) | |
download | pfsense-19fc85b371baad628924ab850a7f90b208c6c123.zip pfsense-19fc85b371baad628924ab850a7f90b208c6c123.tar.gz |
Do not eval custom_php_install_command unless it exists
-rwxr-xr-x | usr/local/www/pkg_mgr_install.php | 2 |
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']); |