fixed more references to server_handling

This commit is contained in:
Ulf Gebhardt 2017-01-10 02:14:09 +01:00
parent 9c9d5948e8
commit 16b4c7cfed
4 changed files with 13 additions and 13 deletions

View File

@ -6,9 +6,9 @@ class default_beta implements \SYSTEM\PAGE\Page {
return \SYSTEM\PAGE\text::tag('meta_beta');}
public function html(){
$vars = array();
$vars['realm_online'] = \SAI\saimod_mojotrollz_server_handling::sai_mod__SAI_saimod_mojotrollz_server_handling_action_run_tbc_realm_status() == 1 ? 'online' : 'offline';
$vars['world_online'] = \SAI\saimod_mojotrollz_server_handling::sai_mod__SAI_saimod_mojotrollz_server_handling_action_run_tbc_world_status() == 1 ? 'online' : 'offline';
$vars['test_online'] = \SAI\saimod_mojotrollz_server_handling::sai_mod__SAI_saimod_mojotrollz_server_handling_action_run_tbc_world_test_status() == 1 ? 'online' : 'offline';
$vars['realm_online'] = \SAI\saimod_mojotrollz_servers::sai_mod__SAI_saimod_mojotrollz_servers_action_run_tbc_realm_status() == 1 ? 'online' : 'offline';
$vars['world_online'] = \SAI\saimod_mojotrollz_servers::sai_mod__SAI_saimod_mojotrollz_servers_action_run_tbc_world_status() == 1 ? 'online' : 'offline';
$vars['test_online'] = \SAI\saimod_mojotrollz_servers::sai_mod__SAI_saimod_mojotrollz_servers_action_run_tbc_world_test_status() == 1 ? 'online' : 'offline';
if(\SYSTEM\SECURITY\security::isLoggedIn()){
$vars['email'] = \SYSTEM\SECURITY\security::getUser()->email;
$vars['username'] = \SYSTEM\SECURITY\security::getUser()->username;

View File

@ -0,0 +1,9 @@
<?php
namespace SQL;
class DATA_SAIMOD_MOJOTROLLZ_SERVERS extends \SYSTEM\DB\QI {
public static function get_class(){return \get_class();}
public static function files_mysql(){
return array( (new \PSAI('/saimod_mojotrollz_servers/sql/mysql/system_page.sql'))->SERVERPATH(),
(new \PSAI('/saimod_mojotrollz_servers/sql/mysql/system_api.sql'))->SERVERPATH());
}
}

View File

@ -1,9 +0,0 @@
<?php
namespace SQL;
class DATA_SAIMOD_MOJOTROLLZ_SERVER_HANDLING extends \SYSTEM\DB\QI {
public static function get_class(){return \get_class();}
public static function files_mysql(){
return array( (new \PSAI('/saimod_mojotrollz_server_handling/sql/mysql/system_page.sql'))->SERVERPATH(),
(new \PSAI('/saimod_mojotrollz_server_handling/sql/mysql/system_api.sql'))->SERVERPATH());
}
}

View File

@ -1,4 +1,4 @@
<?php
\SYSTEM\autoload::registerFolder(dirname(__FILE__),'SQL');
\SYSTEM\autoload::registerFolder(dirname(__FILE__).'/qq/','SQL');
\SYSTEM\SQL\setup::register('SQL\\DATA_SAIMOD_MOJOTROLLZ_SERVER_HANDLING');
\SYSTEM\SQL\setup::register('SQL\\DATA_SAIMOD_MOJOTROLLZ_SERVERS');