mirror of
https://port.numenaute.org/aleajactaest/khanat-opennel-code.git
synced 2024-11-14 11:19:07 +00:00
syncing small fix
This commit is contained in:
parent
f922d61cd5
commit
5f5d5cf45e
1 changed files with 3 additions and 1 deletions
|
@ -7,7 +7,7 @@
|
||||||
*/
|
*/
|
||||||
function syncing(){
|
function syncing(){
|
||||||
|
|
||||||
if(Ticket_User::isAdmin($_SESSION['ticket_user'])){
|
if(Ticket_User::isAdmin(unserialize($_SESSION['ticket_user']))){
|
||||||
|
|
||||||
//return a paginated version of all unsynced changes.
|
//return a paginated version of all unsynced changes.
|
||||||
$pagination = new Pagination("SELECT * FROM ams_querycache","lib",5,"Querycache");
|
$pagination = new Pagination("SELECT * FROM ams_querycache","lib",5,"Querycache");
|
||||||
|
@ -16,6 +16,8 @@ function syncing(){
|
||||||
$pageResult['lastPage'] = $pagination->getLast();
|
$pageResult['lastPage'] = $pagination->getLast();
|
||||||
$pageResult['currentPage'] = $pagination->getCurrent();
|
$pageResult['currentPage'] = $pagination->getCurrent();
|
||||||
|
|
||||||
|
global $INGAME_WEBPATH;
|
||||||
|
$pageResult['ingame_webpath'] = $INGAME_WEBPATH;
|
||||||
|
|
||||||
//check if shard is online
|
//check if shard is online
|
||||||
try{
|
try{
|
||||||
|
|
Loading…
Reference in a new issue