Adds workaround for PHP whitelist

Apparently there's some PHP script that needs to be updated or
something. Revert this once that is done.
This commit is contained in:
mwerezak
2014-06-28 11:58:50 -04:00
parent ac0bf7b853
commit 03648c220e

View File

@@ -962,6 +962,14 @@ datum/preferences
var/datum/language/lang = all_languages[L]
if((!(lang.flags & RESTRICTED)) && (is_alien_whitelisted(user, L)||(!( lang.flags & WHITELISTED ))||(S && (L in S.secondary_langs))))
new_languages += lang
//Apparently there's some PHP script that needs to be updated in order to give people whitelist languages.
//This workaround should be removed once that has been properly updated
if (lang.name == "Siik'maas")
new_languages |= all_languages["Siik'tajr"]
if (lang.name == "Siik'tajr")
new_languages |= all_languages["Siik'maas"]
languages_available = 1
if(!(languages_available))