* reverted removing base href in html head

* added anonymous usage statistics reporting
* (fix) don't show templates that doesn't exist in Menus option in Admin Panel
* (fix) menu ordering by category
* (fix) showing changelog with urls in Admin Panel
* (internal) moved uninstall logic to Plugins class
This commit is contained in:
slawkens
2017-11-03 09:43:47 +01:00
parent ac9c43e280
commit 9aa4e308c1
16 changed files with 175 additions and 97 deletions

View File

@@ -26,7 +26,7 @@
$file = trim(strtolower($config['signature_type'])) . '.php';
if(!file_exists($file))
die('ERROR: Wrong signature type in config.');
die('ERROR: Wrong signature_type in config.');
putenv('GDFONTPATH=' . SIGNATURES_FONTS);
@@ -52,7 +52,7 @@
}
$cached = SIGNATURES_CACHE.$player->getId() . '.png';
if(file_exists($cached) and (time() < (filemtime($cached) + (60 * $config['signature_cache_time']))))
if(file_exists($cached) && (time() < (filemtime($cached) + (60 * $config['signature_cache_time']))))
{
header( 'Content-type: image/png' );
readfile( SIGNATURES_CACHE.$player->getId().'.png' );