* moved some more pages to twig

* moved online, movies, google_analytics code, faq, experience_table, downloads to twig
* added new global variabl to twig (status)
* removed some unused page (custom.php)
* automatically append trailing slash at config.item_images_url
* moved downloads from clients.halfaway.net to tibia-clients.com
* show some more info on monster loot (currently only on TFS 0.3 and those that use item.id in monster files instead of item name)
* some more unimportant fixes
This commit is contained in:
slawkens
2017-10-04 17:49:54 +02:00
parent e94b9006e6
commit b6ccde075d
24 changed files with 327 additions and 351 deletions

View File

@@ -26,6 +26,7 @@ require(SYSTEM . 'login.php');
require(ADMIN . 'includes/functions.php');
$twig->addGlobal('config', $config);
$twig->addGlobal('status', $status);
// if we're not logged in - show login box
if(!$logged || !admin()) {