fix some things in admin panel

This commit is contained in:
Shadow
2014-01-31 08:14:15 +02:00
parent 228227dff2
commit 15182ecb3d
13 changed files with 373 additions and 39 deletions
+4 -3
View File
@@ -1,10 +1,11 @@
<?php
//gp link
//gp link
$separator=isset($separator)? $separator:"";
if($session->gpack == null || GP_ENABLE == false) {
$gpack_load=isset($user['gpack'])? $user['gpack']:$database->getUserField($_SESSION['username'], 'gpack', 1);
if($gpack_load== null || GP_ENABLE == false) {
$gpack= $separator.GP_LOCATE;
} else {
$gpack= $separator.$session->gpack;
$gpack= $separator.$gpack_load;
}