|
@ -94,9 +94,6 @@ DEFAULT_FROM_EMAIL = "webmaster@localhost" |
|
|
# Length of the account activation period, in days. |
|
|
# Length of the account activation period, in days. |
|
|
ACCOUNT_ACTIVATION_DAYS = 30 |
|
|
ACCOUNT_ACTIVATION_DAYS = 30 |
|
|
|
|
|
|
|
|
# Default mumble port. If your server runs under this port, it will not be included in the links in the Channel Viewer. |
|
|
|
|
|
MUMBLE_DEFAULT_PORT = 64738 |
|
|
|
|
|
|
|
|
|
|
|
# Should subchannels be shown, even if there are no players in them? |
|
|
# Should subchannels be shown, even if there are no players in them? |
|
|
SHOW_EMPTY_SUBCHANS = False |
|
|
SHOW_EMPTY_SUBCHANS = False |
|
|
|
|
|
|
|
@ -138,6 +135,10 @@ from os.path import join, dirname, abspath, exists |
|
|
if not MUMBLE_DJANGO_ROOT or not exists( MUMBLE_DJANGO_ROOT ): |
|
|
if not MUMBLE_DJANGO_ROOT or not exists( MUMBLE_DJANGO_ROOT ): |
|
|
MUMBLE_DJANGO_ROOT = dirname(dirname(abspath(__file__))) |
|
|
MUMBLE_DJANGO_ROOT = dirname(dirname(abspath(__file__))) |
|
|
|
|
|
|
|
|
|
|
|
# Default mumble port. If your server runs under this port, it will not be |
|
|
|
|
|
# included in the links in the Channel Viewer. |
|
|
|
|
|
MUMBLE_DEFAULT_PORT = 64738 |
|
|
|
|
|
|
|
|
if not MUMBLE_DJANGO_URL: |
|
|
if not MUMBLE_DJANGO_URL: |
|
|
MUMBLE_DJANGO_URL = '/' |
|
|
MUMBLE_DJANGO_URL = '/' |
|
|
elif MUMBLE_DJANGO_URL[-1] != '/': |
|
|
elif MUMBLE_DJANGO_URL[-1] != '/': |
|
|