fix missing parameter when calling reload in autoconf and edit REMOTE_PHP_PATH regex
This commit is contained in:
parent
876fcd1814
commit
b99fb27df5
@ -173,7 +173,7 @@ class AutoConf :
|
|||||||
self.__servers[id].reload()
|
self.__servers[id].reload()
|
||||||
utils.log("[*] Deactivating config for " + vars["SERVER_NAME"])
|
utils.log("[*] Deactivating config for " + vars["SERVER_NAME"])
|
||||||
self.__gen_env()
|
self.__gen_env()
|
||||||
if self.__config.reload() :
|
if self.__config.reload(self.__instances) :
|
||||||
utils.log("[*] Deactivated config for " + vars["SERVER_NAME"])
|
utils.log("[*] Deactivated config for " + vars["SERVER_NAME"])
|
||||||
else :
|
else :
|
||||||
utils.log("[!] Can't deactivate config for " + vars["SERVER_NAME"])
|
utils.log("[!] Can't deactivate config for " + vars["SERVER_NAME"])
|
||||||
|
|||||||
@ -983,7 +983,7 @@
|
|||||||
"env": "REMOTE_PHP_PATH",
|
"env": "REMOTE_PHP_PATH",
|
||||||
"id": "remote-php-path",
|
"id": "remote-php-path",
|
||||||
"label": "Remote php path",
|
"label": "Remote php path",
|
||||||
"regex": "^/([A-Za-z0-9\\-]/?)*$",
|
"regex": "^/([a-zA-Z\\-0-9\\_\\./])*$",
|
||||||
"type": "text"
|
"type": "text"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@ -992,7 +992,7 @@
|
|||||||
"env": "LOCAL_PHP",
|
"env": "LOCAL_PHP",
|
||||||
"id": "local-php",
|
"id": "local-php",
|
||||||
"label": "local php",
|
"label": "local php",
|
||||||
"regex": "^([a-zA-Z\\-0-9\\_\\./])*$",
|
"regex": "^/([a-zA-Z\\-0-9\\_\\./])*$",
|
||||||
"type": "text"
|
"type": "text"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user