Skip to content

Commit 8f0be8a

Browse files
committed
Update init_cmd.py
1 parent 6114bcd commit 8f0be8a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

web/admin/setup/init_cmd.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515

1616
def contentReplace(src, dst):
1717
content = mw.readFile(src)
18-
content = content.replace("{$SERVER_PATH}", mw.getFatherDir())
18+
content = content.replace("{$SERVER_PATH}", mw.getPanelDir())
1919

2020
content += "\n# make:{0}".format(mw.formatDate())
2121
mw.writeFile(dst, content)

0 commit comments

Comments
 (0)