serverhandling cleanup
This commit is contained in:
parent
c0a1173466
commit
0c308a5d64
@ -1,8 +1,6 @@
|
|||||||
<?php
|
<?php
|
||||||
SYSTEM\autoload::registerFolder(dirname(__FILE__).'','');
|
SYSTEM\autoload::registerFolder(dirname(__FILE__).'','');
|
||||||
|
require_once dirname(__FILE__).'/saimod_mojotrollz_server_handling/autoload.inc';
|
||||||
SYSTEM\autoload::registerFolder(dirname(__FILE__).'/saimod_mojotrollz_server_handling','');
|
|
||||||
\SYSTEM\SAI\sai::register('saimod_mojotrollz_server_handling');
|
|
||||||
require_once dirname(__FILE__).'/saimod_mojotrollz_db_creature/autoload.inc';
|
require_once dirname(__FILE__).'/saimod_mojotrollz_db_creature/autoload.inc';
|
||||||
require_once dirname(__FILE__).'/saimod_mojotrollz_db_item/autoload.inc';
|
require_once dirname(__FILE__).'/saimod_mojotrollz_db_item/autoload.inc';
|
||||||
require_once dirname(__FILE__).'/saimod_mojotrollz_db_quest/autoload.inc';
|
require_once dirname(__FILE__).'/saimod_mojotrollz_db_quest/autoload.inc';
|
||||||
|
|||||||
@ -0,0 +1,4 @@
|
|||||||
|
<?php
|
||||||
|
SYSTEM\autoload::registerFolder(dirname(__FILE__),'');
|
||||||
|
//SYSTEM\autoload::registerFolder(dirname(__FILE__).'/qq','DBD');
|
||||||
|
\SYSTEM\SAI\sai::register('saimod_mojotrollz_server_handling');
|
||||||
@ -4,12 +4,12 @@ class saimod_mojotrollz_server_handling extends \SYSTEM\SAI\SaiModule {
|
|||||||
$vars = array();
|
$vars = array();
|
||||||
$vars['status_realm'] = self::sai_mod_saimod_mojotrollz_server_handling_action_realmstatus();
|
$vars['status_realm'] = self::sai_mod_saimod_mojotrollz_server_handling_action_realmstatus();
|
||||||
$vars['status_world'] = self::sai_mod_saimod_mojotrollz_server_handling_action_worldstatus();
|
$vars['status_world'] = self::sai_mod_saimod_mojotrollz_server_handling_action_worldstatus();
|
||||||
return \SYSTEM\PAGE\replace::replaceFile(dirname(__FILE__).'/main.tpl', $vars);}
|
return \SYSTEM\PAGE\replace::replaceFile(dirname(__FILE__).'/tpl/main.tpl', $vars);}
|
||||||
public static function html_li_menu(){return '<li><a href="#" saimenu="saimod_mojotrollz_server_handling">Server</a></li><li class="divider"></li>';}
|
public static function html_li_menu(){return '<li><a href="#" saimenu="saimod_mojotrollz_server_handling">Server</a></li><li class="divider"></li>';}
|
||||||
public static function right_public(){return false;}
|
public static function right_public(){return false;}
|
||||||
public static function right_right(){return \SYSTEM\SECURITY\Security::check(\SYSTEM\SECURITY\RIGHTS::SYS_SAI);}
|
public static function right_right(){return \SYSTEM\SECURITY\Security::check(\SYSTEM\SECURITY\RIGHTS::SYS_SAI);}
|
||||||
public static function sai_mod_saimod_mojotrollz_server_handling_flag_js(){return \SYSTEM\LOG\JsonResult::toString(array(
|
public static function sai_mod_saimod_mojotrollz_server_handling_flag_js(){return \SYSTEM\LOG\JsonResult::toString(array(
|
||||||
\SYSTEM\WEBPATH(new PSAI(),'saimod_mojotrollz_server_handling/saimod_mojotrollz_server_handling.js')
|
\SYSTEM\WEBPATH(new PSAI(),'saimod_mojotrollz_server_handling/js/saimod_mojotrollz_server_handling.js')
|
||||||
));}
|
));}
|
||||||
public static function sai_mod_saimod_mojotrollz_server_handling_flag_css(){}
|
public static function sai_mod_saimod_mojotrollz_server_handling_flag_css(){}
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user