diff --git a/autoconf/AutoConf.py b/autoconf/AutoConf.py index cea1b83..5651e6b 100644 --- a/autoconf/AutoConf.py +++ b/autoconf/AutoConf.py @@ -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"]) diff --git a/settings.json b/settings.json index ccfc4e9..ea86aca 100644 --- a/settings.json +++ b/settings.json @@ -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" }, {