This commit is contained in:
Mr Chen 2024-12-10 03:14:06 +08:00
parent 47ce5e05bc
commit f2f02e4b1b
2 changed files with 4 additions and 1 deletions

View File

@ -30,7 +30,7 @@ import thisdb
from admin import setup
setup.init()
g_log_file = mw.getPanelTaskLog()
g_log_file = mw.getPanelTaskExecLog()
if not os.path.exists(g_log_file):
os.system("touch " + g_log_file)

View File

@ -116,6 +116,9 @@ def getRecycleBinDir():
def getPanelTaskLog():
return getMWLogs() + '/panel_task.log'
def getPanelTaskExecLog():
return getMWLogs() + '/panel_exec.log'
def getWwwDir():
import thisdb
site_path = thisdb.getOption('site_path')