some fixed and new features

* added outfit shower, in characters, online, and highscores
* updated database to version 2
* fixed item images (now using item-images.ots.me host by default)
* fixed news ticket and posting long newses
(https://otland.net/threads/myaac-v0-0-1.251454/page-5#post-2442026)
* news body limit increased to 65535 (mysql text field)
* removed some unused code from my old server
* added spells & monsters to kathrine template
This commit is contained in:
slawkens1
2017-05-13 19:16:03 +02:00
parent 1a7dbec4c5
commit 449ce31ab4
17 changed files with 156 additions and 186 deletions

View File

@@ -217,10 +217,10 @@ if($load_it)
}
ob_start();
$hooks->trigger(HOOK_BEFORE_PAGE);
if(!$ignore)
require($file);
if($hooks->trigger(HOOK_BEFORE_PAGE)) {
if(!$ignore)
require($file);
}
if($config['backward_support'] && isset($main_content[0]))
$content .= $main_content;