mirror of
https://github.com/usmannasir/cyberpanel.git
synced 2026-05-18 19:36:47 +02:00
vhu
This commit is contained in:
@@ -3,7 +3,9 @@ import os
|
||||
import os.path
|
||||
import sys
|
||||
import django
|
||||
|
||||
PACKAGE_PARENT = '..'
|
||||
SCRIPT_DIR = os.path.dirname(os.path.realpath(os.path.join(os.getcwd(), os.path.expanduser(__file__))))
|
||||
sys.path.append(os.path.normpath(os.path.join(SCRIPT_DIR, PACKAGE_PARENT)))
|
||||
sys.path.append('/usr/local/CyberCP')
|
||||
os.environ.setdefault("DJANGO_SETTINGS_MODULE", "CyberCP.settings")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user