diff --git a/class/core/mw.py b/class/core/mw.py index 4dd4b943b..2d3e1d429 100755 --- a/class/core/mw.py +++ b/class/core/mw.py @@ -1298,7 +1298,7 @@ def checkDomainPanel(): if os.path.exists(choose_file): choose = readFile(choose_file).strip() - if not mw.inArray(['local','nginx'], choose): + if not inArray(['local','nginx'], choose): return False if choose == 'local':