@@ -231,16 +231,14 @@ def req_config_handler(self):
231231 check_update = "stable"
232232
233233 data = '{ "check_update": "%s", "language": "%s", "popup_webui": %d, "allow_remote_connect": %d, \
234- "show_systray": %d, "auto_start": %d, "show_detail": %d, "php_enable": %d, "gae_proxy_enable": %d, \
235- "x_tunnel_enable": %d}' % \
234+ "show_systray": %d, "auto_start": %d, "show_detail": %d, "gae_proxy_enable": %d, "x_tunnel_enable": %d}' % \
236235 (check_update
237236 , config .get (["language" ], i18n_translator .lang )
238237 , config .get (["modules" , "launcher" , "popup_webui" ], 1 )
239238 , config .get (["modules" , "launcher" , "allow_remote_connect" ], 0 )
240239 , config .get (["modules" , "launcher" , "show_systray" ], 1 )
241240 , config .get (["modules" , "launcher" , "auto_start" ], 0 )
242241 , config .get (["modules" , "gae_proxy" , "show_detail" ], 0 )
243- , config .get (["modules" , "php_proxy" , "auto_start" ], 0 )
244242 , config .get (["modules" , "gae_proxy" , "auto_start" ], 0 )
245243 , config .get (["modules" , "x_tunnel" , "auto_start" ], 0 )
246244 )
@@ -343,19 +341,6 @@ def req_config_handler(self):
343341 module_init .stop ("gae_proxy" )
344342 self .load_module_menus ()
345343 data = '{"res":"success"}'
346- elif 'php_enable' in reqs :
347- php_enable = int (reqs ['php_enable' ][0 ])
348- if php_enable != 0 and php_enable != 1 :
349- data = '{"res":"fail, php_enable:%s"}' % php_enable
350- else :
351- config .set (["modules" , "php_proxy" , "auto_start" ], php_enable )
352- config .save ()
353- if php_enable :
354- module_init .start ("php_proxy" )
355- else :
356- module_init .stop ("php_proxy" )
357- self .load_module_menus ()
358- data = '{"res":"success"}'
359344 elif 'x_tunnel_enable' in reqs :
360345 x_tunnel_enable = int (reqs ['x_tunnel_enable' ][0 ])
361346 if x_tunnel_enable != 0 and x_tunnel_enable != 1 :
0 commit comments