diff --git a/CHANGELOG b/CHANGELOG index 81d982d5..5ed57a10 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -1,3 +1,11 @@ +[0.7.4 - 24.12.2017] + * fixed mysql fatal error on tibiacom template - top 5 box + * fixed displaying of level percent bar on tibian signature + * inform user about Twig cache failure on installation, instead of http 500 error + * when dir system/cache is not writable by the webserver, then show some nice notice to the user about it instead of http 500 error + * remember client version select and usage stats checkbox in session on install + * automatically update highscores_ids_hidden for users who installed myaac before (migration) + [0.7.3 - 18.12.2017] * auto generate myaac cache & session prefix on install to be unique across installations * fixed hiding shop system menu on tibiacom template when disabled in config diff --git a/common.php b/common.php index 84977f1d..12772148 100644 --- a/common.php +++ b/common.php @@ -26,7 +26,7 @@ session_start(); define('MYAAC', true); -define('MYAAC_VERSION', '0.7.3'); +define('MYAAC_VERSION', '0.7.4'); define('DATABASE_VERSION', 20); define('TABLE_PREFIX', 'myaac_'); define('START_TIME', microtime(true)); diff --git a/config.php b/config.php index f55fa6d5..c51a77a8 100644 --- a/config.php +++ b/config.php @@ -186,6 +186,7 @@ $config = array( 'highscores_outfit' => true, // show player outfit? 'highscores_country_box' => false, // doesnt work yet! (not implemented) 'highscores_groups_hidden' => 4, // this group id and higher won't be shown on the highscores + 'highscores_ids_hidden' => array(0), // this ids of players will be hidden on the highscores (should be ids of samples) 'highscores_length' => 100, // how many records per page on highscores // characters page diff --git a/system/init.php b/system/init.php index 3441c695..938a43fa 100644 --- a/system/init.php +++ b/system/init.php @@ -149,7 +149,7 @@ $config['data_path'] = $tmp; unset($tmp); // new config values for compability -if(!isset($config['highscores_ids_hidden'])) { +if(!isset($config['highscores_ids_hidden']) || count($config['highscores_ids_hidden']) == 0) { $config['highscores_ids_hidden'] = array(0); }