Commit ff690a03 authored by Ad Schellevis's avatar Ad Schellevis

webgui, restart wrong order for generating php.ini

parent d71fbf0d
...@@ -104,15 +104,15 @@ function webgui_configure_do($verbose = false) ...@@ -104,15 +104,15 @@ function webgui_configure_do($verbose = false)
/* only stop the frontend when the generation was successful */ /* only stop the frontend when the generation was successful */
killbypid('/var/run/lighty-webConfigurator.pid', 'TERM', true); killbypid('/var/run/lighty-webConfigurator.pid', 'TERM', true);
/* regenerate the php.ini files in case the setup has changed */
mwexec('/usr/local/etc/rc.php_ini_setup');
/* /*
* Force reloading all php-cgi children to * Force reloading all php-cgi children to
* avoid hiccups with moved include files. * avoid hiccups with moved include files.
*/ */
killbyname('php-cgi', 'HUP'); killbyname('php-cgi', 'HUP');
/* regenerate the php.ini files in case the setup has changed */
mwexec('/usr/local/etc/rc.php_ini_setup');
/* start lighthttpd */ /* start lighthttpd */
mwexec('/usr/local/sbin/lighttpd -f /var/etc/lighty-webConfigurator.conf'); mwexec('/usr/local/sbin/lighttpd -f /var/etc/lighty-webConfigurator.conf');
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment