1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-01 20:30:39 +02:00

Introducing E_DEV_* environment variables - development testing areas

This commit is contained in:
SecretR
2013-05-09 11:07:50 +03:00
parent 74da5ab69e
commit ba5ce647f2

View File

@@ -453,7 +453,7 @@ function multilang_prefs()
//XXX Remove later.
// Enable only for developers - SetEnv E_ENVIRONMENT develop
if(!isset($_SERVER['E_ENVIRONMENT']) || $_SERVER['E_ENVIRONMENT'] !== 'develop')
if(!isset($_SERVER['E_DEV_LANGUAGE']) || $_SERVER['E_DEV_LANGUAGE'] !== 'true')
{
$lanlist = array('English');
$mes->addInfo("Alpha version currently supports only the English language. After most features are stable and English terms are optimized - translation will be possible.");