summaryrefslogtreecommitdiffstats
path: root/usr/local/www/pkg_mgr_install.php
diff options
context:
space:
mode:
Diffstat (limited to 'usr/local/www/pkg_mgr_install.php')
-rwxr-xr-xusr/local/www/pkg_mgr_install.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/usr/local/www/pkg_mgr_install.php b/usr/local/www/pkg_mgr_install.php
index 646a057..9f5d4d0 100755
--- a/usr/local/www/pkg_mgr_install.php
+++ b/usr/local/www/pkg_mgr_install.php
@@ -421,6 +421,9 @@ foreach ($packages_to_install as $id) {
$pb_percent += 10;
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']);
update_status("Executing post install commands...\n");
fwrite($fd_log, "Executing post install commands...\n");
$error_message = "";
OpenPOWER on IntegriCloud