diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2009-08-23 18:40:31 -0400 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2009-08-23 18:40:31 -0400 |
commit | 45fee158327b2d9fd9497122be02c6c819f43535 (patch) | |
tree | ef87a65bc7a3fc66f6c4bac72371f7f7269751bd | |
parent | 3918d7d810d3d001dcf79634bcfb9f9ffdf8b018 (diff) | |
download | pfsense-45fee158327b2d9fd9497122be02c6c819f43535.zip pfsense-45fee158327b2d9fd9497122be02c6c819f43535.tar.gz |
Run /etc/rc.php_ini_setup if it exists
-rw-r--r-- | etc/phpshellsessions/gitsync | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/etc/phpshellsessions/gitsync b/etc/phpshellsessions/gitsync index e39a1be..5abfb59 100644 --- a/etc/phpshellsessions/gitsync +++ b/etc/phpshellsessions/gitsync @@ -202,6 +202,9 @@ function post_cvssync_commands() { exec("pfctl -f /tmp/rules.debug"); echo "\n"; + if(file_exists("/etc/rc.php_ini_setup")) + exec("/etc/rc.php_ini_setup"); + echo "===> Signaling PHP and Lighty restart..."; $fd = fopen("/tmp/restart_lighty", "w"); fwrite($fd, "#!/bin/sh\n"); @@ -211,6 +214,7 @@ function post_cvssync_commands() { fclose($fd); mwexec_bg("sh /tmp/restart_lighty"); echo "\n"; + } function isUrl($url = "") { |