diff --git a/inc/functions.php b/inc/functions.php index 35a3cc2f..db9c91b0 100644 --- a/inc/functions.php +++ b/inc/functions.php @@ -215,6 +215,8 @@ function loadConfig() { error_reporting(E_ALL); ini_set('display_errors', true); ini_set('html_errors', false); + } else { + ini_set('display_errors', false); } // Keep the original address to properly comply with other board configurations diff --git a/templates/themes/basic/index.html b/templates/themes/basic/index.html index 6178d4a9..3376a68f 100644 --- a/templates/themes/basic/index.html +++ b/templates/themes/basic/index.html @@ -2,10 +2,14 @@ - - + {{ settings.title }} - + {% if config.meta_keywords %}{% endif %} + + {% if config.url_favicon %}{% endif %} + + {% if config.default_stylesheet.1 != '' %}{% endif %} + {% if config.font_awesome %}{% endif %} {{ boardlist.top }} @@ -25,7 +29,7 @@ {% else %} no subject {% endif %} - — by {{ entry.name }} at {{ entry.time|date(config.post_date) }} + — by {{ entry.name }} at {{ entry.time|date(config.post_date, config.timezone) }}

{{ entry.body }}

{% endfor %}