mirror of
https://github.com/e107inc/e107.git
synced 2025-08-02 12:48:26 +02:00
Introducing E_DEV_* environment variables - development testing areas
This commit is contained in:
@@ -453,7 +453,7 @@ function multilang_prefs()
|
|||||||
|
|
||||||
//XXX Remove later.
|
//XXX Remove later.
|
||||||
// Enable only for developers - SetEnv E_ENVIRONMENT develop
|
// 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');
|
$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.");
|
$mes->addInfo("Alpha version currently supports only the English language. After most features are stable and English terms are optimized - translation will be possible.");
|
||||||
|
Reference in New Issue
Block a user