mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-01-06 15:32:25 +00:00
Webinterface Config Settings
Configuration settings for using the webinterface in future updates.
This commit is contained in:
@@ -208,6 +208,10 @@ var/list/gamemode_cache = list()
|
||||
|
||||
var/aggressive_changelog = 0
|
||||
|
||||
//Webinterface settings
|
||||
var/webinterface_enabled = 0
|
||||
var/webinterface_url = ""
|
||||
|
||||
/datum/configuration/New()
|
||||
var/list/L = typesof(/datum/game_mode) - /datum/game_mode
|
||||
for (var/T in L)
|
||||
@@ -674,6 +678,12 @@ var/list/gamemode_cache = list()
|
||||
if("show_auxiliary_roles")
|
||||
config.show_auxiliary_roles = 1
|
||||
|
||||
if("use_webinterface")
|
||||
config.webinterface_enabled = 1
|
||||
|
||||
if("webinterface_url")
|
||||
config.webinterface_url = 1
|
||||
|
||||
else
|
||||
log_misc("Unknown setting in configuration: '[name]'")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user