diff --git a/common.php b/common.php index 12772148..5b83224e 100644 --- a/common.php +++ b/common.php @@ -26,7 +26,7 @@ session_start(); define('MYAAC', true); -define('MYAAC_VERSION', '0.7.4'); +define('MYAAC_VERSION', '0.7.5-dev'); define('DATABASE_VERSION', 20); define('TABLE_PREFIX', 'myaac_'); define('START_TIME', microtime(true)); diff --git a/config.php b/config.php index c51a77a8..d1e53bbd 100644 --- a/config.php +++ b/config.php @@ -75,7 +75,7 @@ $config = array( // images 'outfit_images_url' => 'http://outfit-images.ots.me/outfit.php', // set to animoutfit.php for animated outfit - 'item_images_url' => 'http://item-images.ots.me/960/', // set to images/items if you host your own items in images folder + 'item_images_url' => 'http://item-images.ots.me/1092/', // set to images/items if you host your own items in images folder // account 'account_management' => true, // disable if you're using other method to manage users (fe. tfs account manager) diff --git a/index.php b/index.php index fee0c8e7..961b4934 100644 --- a/index.php +++ b/index.php @@ -51,7 +51,7 @@ if(preg_match("/^[A-Za-z0-9-_%\'+]+\.png$/i", $uri)) { include(TOOLS . 'signature/index.php'); exit(); } -else if(preg_match("/^(.*)\.(gif|jpg|png|jpeg|tiff|bmp|css|js|less|map|html|php|zip|rar|gz)$/i", $_SERVER['REQUEST_URI'])) { +else if(preg_match("/^(.*)\.(gif|jpg|png|jpeg|tiff|bmp|css|js|less|map|html|php|zip|rar|gz|ttf|woff|ico)$/i", $_SERVER['REQUEST_URI'])) { header("HTTP/1.0 404 Not Found"); exit; } diff --git a/system/init.php b/system/init.php index 938a43fa..8833b95a 100644 --- a/system/init.php +++ b/system/init.php @@ -14,8 +14,7 @@ if(file_exists(BASE . 'config.local.php')) // user customizations require(BASE . 'config.local.php'); if(!isset($config['installed']) || !$config['installed']) { - header('Location: ' . BASE_URL); - die('AAC has not been installed yet or there was error during installation. Please install again.'); + die('MyAAC has not been installed yet or there was error during installation. Please install again.'); } date_default_timezone_set($config['date_timezone']); diff --git a/system/templates/faq.html.twig b/system/templates/faq.html.twig index 1d7b9283..c6ff405e 100644 --- a/system/templates/faq.html.twig +++ b/system/templates/faq.html.twig @@ -17,9 +17,9 @@ {% set i = i + 1 %} - {{ faq.question }} + {{ faq.question|raw }} - + {% if canEdit %}