summaryrefslogtreecommitdiffstats
path: root/etc/phpshellsessions
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2008-12-23 19:36:07 +0000
committerScott Ullrich <sullrich@pfsense.org>2008-12-23 19:36:07 +0000
commitdf8472fb34051f97b50b0cca215d96ec53076ed1 (patch)
tree0c2a72e24d3f9d643b9e9a4e21f08526d5f3f240 /etc/phpshellsessions
parent8a44206bb199e555bdfde9421183289474f35bef (diff)
downloadpfsense-df8472fb34051f97b50b0cca215d96ec53076ed1.zip
pfsense-df8472fb34051f97b50b0cca215d96ec53076ed1.tar.gz
Run /etc/rc/php_ini_setup before testing php
Diffstat (limited to 'etc/phpshellsessions')
-rw-r--r--etc/phpshellsessions/cvssync2
1 files changed, 2 insertions, 0 deletions
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")) {
OpenPOWER on IntegriCloud