fix missing parameter when calling reload in autoconf and edit REMOTE_PHP_PATH regex

This commit is contained in:
bunkerity 2021-07-22 09:29:15 +02:00
parent 876fcd1814
commit b99fb27df5
No known key found for this signature in database
GPG Key ID: 3D80806F12602A7C
2 changed files with 3 additions and 3 deletions

View File

@ -173,7 +173,7 @@ class AutoConf :
self.__servers[id].reload()
utils.log("[*] Deactivating config for " + vars["SERVER_NAME"])
self.__gen_env()
if self.__config.reload() :
if self.__config.reload(self.__instances) :
utils.log("[*] Deactivated config for " + vars["SERVER_NAME"])
else :
utils.log("[!] Can't deactivate config for " + vars["SERVER_NAME"])

View File

@ -983,7 +983,7 @@
"env": "REMOTE_PHP_PATH",
"id": "remote-php-path",
"label": "Remote php path",
"regex": "^/([A-Za-z0-9\\-]/?)*$",
"regex": "^/([a-zA-Z\\-0-9\\_\\./])*$",
"type": "text"
},
{
@ -992,7 +992,7 @@
"env": "LOCAL_PHP",
"id": "local-php",
"label": "local php",
"regex": "^([a-zA-Z\\-0-9\\_\\./])*$",
"regex": "^/([a-zA-Z\\-0-9\\_\\./])*$",
"type": "text"
},
{