From df8472fb34051f97b50b0cca215d96ec53076ed1 Mon Sep 17 00:00:00 2001 From: Scott Ullrich Date: Tue, 23 Dec 2008 19:36:07 +0000 Subject: Run /etc/rc/php_ini_setup before testing php --- etc/phpshellsessions/cvssync | 2 ++ 1 file changed, 2 insertions(+) (limited to 'etc') diff --git a/etc/phpshellsessions/cvssync b/etc/phpshellsessions/cvssync index 0fede79..52c69cb 100644 --- a/etc/phpshellsessions/cvssync +++ b/etc/phpshellsessions/cvssync @@ -43,6 +43,8 @@ function post_cvssync_commands() { } function check_php_status() { + if(file_exists("/etc/rc.php_ini_setup")) + exec("/etc/rc.php_ini_setup"); echo "===> Ensuring that PHP is working before going further..."; $test_php = `php -v`; if(!strstr($test_php, "PHP")) { -- cgit v1.1