diff options
author | RaNaN <Mast3rRaNaN@hotmail.de> | 2013-12-15 14:00:42 +0100 |
---|---|---|
committer | RaNaN <Mast3rRaNaN@hotmail.de> | 2013-12-15 14:00:42 +0100 |
commit | 8fbde7a43b4f838df0379fdb4acd791713b639b7 (patch) | |
tree | bb7e78afc6a34823e078ab64c6965321c6866e85 /pyload/web/webinterface.py | |
parent | added new file states (diff) | |
download | pyload-8fbde7a43b4f838df0379fdb4acd791713b639b7.tar.xz |
more options to get webUI through proxy working
Diffstat (limited to 'pyload/web/webinterface.py')
-rw-r--r-- | pyload/web/webinterface.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/pyload/web/webinterface.py b/pyload/web/webinterface.py index 21c5f4a03..f732a933d 100644 --- a/pyload/web/webinterface.py +++ b/pyload/web/webinterface.py @@ -46,9 +46,9 @@ else: from pyload.utils.JsEngine import JsEngine JS = JsEngine() -TEMPLATE = config.get('webinterface', 'template') +TEMPLATE = config.get('webUI', 'template') DL_ROOT = config.get('general', 'download_folder') -PREFIX = config.get('webinterface', 'prefix') +PREFIX = config.get('webUI', 'prefix') if PREFIX: PREFIX = PREFIX.rstrip("/") @@ -59,7 +59,7 @@ APP_PATH = "app" UNAVAILALBE = True # webUI build is available -if exists(join(PROJECT_DIR, "app", "components")) and exists(join(PROJECT_DIR, ".tmp")) and config.get('webinterface', 'develop'): +if exists(join(PROJECT_DIR, "app", "components")) and exists(join(PROJECT_DIR, ".tmp")) and config.get('webUI', 'develop'): UNAVAILALBE = False elif exists(join(PROJECT_DIR, "dist", "index.html")): APP_PATH = "dist" |