|
|
|
@ -175,10 +175,11 @@
|
|
|
|
|
bindtextdomain($domain, $_SESSION['_config']['filepath']."/locale");
|
|
|
|
|
textdomain($domain);
|
|
|
|
|
|
|
|
|
|
if($_SESSION['profile']['id'] == -1)
|
|
|
|
|
echo $_SESSION['_config']['language']." - ".$_SESSION['_config']['filepath']."/locale";
|
|
|
|
|
//if($_SESSION['profile']['id'] == -1)
|
|
|
|
|
// echo $_SESSION['_config']['language']." - ".$_SESSION['_config']['filepath']."/locale";
|
|
|
|
|
|
|
|
|
|
if($_SESSION['profile']['id'] > 0)
|
|
|
|
|
|
|
|
|
|
if(array_key_exists('profile',$_SESSION) && is_array($_SESSION['profile']) && array_key_exists('id',$_SESSION['profile']) && $_SESSION['profile']['id'] > 0)
|
|
|
|
|
{
|
|
|
|
|
$locked = mysql_fetch_assoc(mysql_query("select `locked` from `users` where `id`='".$_SESSION['profile']['id']."'"));
|
|
|
|
|
if($locked['locked'] == 0)
|
|
|
|
|