Skip to content

Commit cd76e15

Browse files
committed
added php
1 parent 70f04ed commit cd76e15

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

ps_silverstripe.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -145,9 +145,9 @@
145145
task('sitehost:restart', function () {
146146

147147
//check restart mode
148-
if (get('sitehost_restart_mode') == 'apache') {
149-
writeln('<info>Restarting apache</info>');
150-
run('supervisorctl restart apache2');
148+
if (get('sitehost_restart_mode') == 'apache-php') {
149+
writeln('<info>Restarting apache & php</info>');
150+
run('supervisorctl restart apache2 php');
151151
return;
152152
}
153153

0 commit comments

Comments
 (0)