1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-06 22:57:14 +02:00

Remove English-only limitation.

This commit is contained in:
Cameron
2015-02-02 12:11:59 -08:00
parent c7ad15a3da
commit b401143317

View File

@@ -644,11 +644,11 @@ function multilang_prefs()
//XXX Remove later.
// Enable only for developers - SetEnv 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.");
}
// 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.");
// }
$text = "
<form method='post' action='".e_SELF."' id='linkform'>