mirror of
https://github.com/vichan-devel/vichan.git
synced 2024-11-28 09:20:58 +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:
parent
9ca7dae9c9
commit
be4bf70278
@ -19,7 +19,9 @@ require_once 'inc/database.php';
|
|||||||
require_once 'inc/events.php';
|
require_once 'inc/events.php';
|
||||||
require_once 'inc/api.php';
|
require_once 'inc/api.php';
|
||||||
require_once 'inc/bans.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/lib/parsedown/Parsedown.php'; // todo: option for parsedown instead of Tinyboard/STI markup
|
||||||
require_once 'inc/mod/auth.php';
|
require_once 'inc/mod/auth.php';
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user