1
0
mirror of https://github.com/vichan-devel/vichan.git synced 2024-11-24 15:40:12 +01:00

infinity/smart-build: don`t include gettext php lib if a shared object is loaded: adaptation of vichan-devel/cbbebc

This commit is contained in:
czaks 2015-04-06 20:00:18 +02:00
parent 9ca7dae9c9
commit be4bf70278

View File

@ -19,7 +19,9 @@ require_once 'inc/database.php';
require_once 'inc/events.php';
require_once 'inc/api.php';
require_once 'inc/bans.php';
require_once 'inc/lib/gettext/gettext.inc';
if (!extension_loaded('gettext')) {
require_once 'inc/lib/gettext/gettext.inc';
}
require_once 'inc/lib/parsedown/Parsedown.php'; // todo: option for parsedown instead of Tinyboard/STI markup
require_once 'inc/mod/auth.php';