File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -231,7 +231,7 @@ def debug_php(self):
231231 def debug_fpm (self ):
232232 """Start/Stop PHP5-FPM debug"""
233233 # PHP5-FPM start global debug
234- if (self .app .pargs .php == 'on' and not self .app .pargs .site_name ):
234+ if (self .app .pargs .fpm == 'on' and not self .app .pargs .site_name ):
235235 if not EEShellExec .cmd_exec (self , "grep \" log_level = debug\" "
236236 "/etc/php5/fpm/php-fpm.conf" ):
237237 Log .info (self , "Setting up PHP5-FPM log_level = debug" )
@@ -252,7 +252,7 @@ def debug_fpm(self):
252252 self .msg = self .msg + ['/var/log/php5/fpm.log' ]
253253
254254 # PHP5-FPM stop global debug
255- elif (self .app .pargs .php == 'on ' and not self .app .pargs .site_name ):
255+ elif (self .app .pargs .fpm == 'off ' and not self .app .pargs .site_name ):
256256 if EEShellExec .cmd_exec (self , "grep \" log_level = debug\" "
257257 "/etc/php5/fpm/php-fpm.conf" ):
258258 Log .info (self , "Disabling PHP5-FPM log_level = debug" )
You can’t perform that action at this time.
0 commit comments