Update index.py

pull/632/head
Mr Chen 5 months ago
parent f96ff13843
commit 332aa43419
  1. 9
      plugins/php-guard/index.py

@ -8,11 +8,12 @@ import re
import json import json
import shutil import shutil
# reload(sys) web_dir = os.getcwd() + "/web"
# sys.setdefaultencoding('utf8') if os.path.exists(web_dir):
sys.path.append(web_dir)
os.chdir(web_dir)
sys.path.append(os.getcwd() + "/class/core") import core.mw as mw
import mw
app_debug = False app_debug = False
if mw.isAppleSystem(): if mw.isAppleSystem():

Loading…
Cancel
Save