Admin Panel localization (#467)

This commit is contained in:
RainLoop Team 2015-03-28 02:06:56 +04:00
parent 470b3645e2
commit 3dac6809d1
46 changed files with 1111 additions and 561 deletions

View file

@ -1,6 +1,7 @@
<?php
define('LANGS_PATH', __DIR__.'/../rainloop/v/0.0.0/langs');
\define('IS_ADMIN', isset($_GET['admin']) && '1' === (string) $_GET['admin']);
\define('LANGS_PATH', __DIR__.'/../rainloop/v/0.0.0/langs'.(IS_ADMIN ? '/admin' : ''));
function getLangStructure($sLangFile)
{