This commit is contained in:
Mr Chen
2024-11-28 19:48:36 +08:00
parent 0d1d4b66d6
commit 493553ec4b
2 changed files with 3 additions and 2 deletions
+3
View File
@@ -27,6 +27,9 @@ sys.path.append(web_dir)
import core.mw as mw
import thisdb
from admin import setup
setup.init()
g_log_file = mw.getPanelTaskLog()
if not os.path.exists(g_log_file):
os.system("touch " + g_log_file)
-2
View File
@@ -27,8 +27,6 @@ from utils.firewall import Firewall as MwFirewall
import core.mw as mw
import thisdb
from admin import setup
setup.init()
INIT_DIR = "/etc/rc.d/init.d"