mirror of
https://github.com/Shadowss/TravianZ.git
synced 2026-06-28 00:24:23 +00:00
Fixed a spy bug
+Fixed a bug that didn't permit to detect upgraded (in the blachsmith) spies +Changed a debug function, from public to public static
This commit is contained in:
@@ -98,7 +98,7 @@ class Logging {
|
||||
global $database;
|
||||
}
|
||||
|
||||
public function debug($debug_info, $time = 0) {
|
||||
public static function debug($debug_info, $time = 0) {
|
||||
global $database, $generator;
|
||||
list($debug_info) = $database->escape_input($debug_info);
|
||||
|
||||
@@ -107,5 +107,4 @@ class Logging {
|
||||
};
|
||||
|
||||
$logging = new Logging;
|
||||
//$logging->debug(time(),2,'Logging.php loaded');
|
||||
?>
|
||||
|
||||
Reference in New Issue
Block a user