stop ENABLED_MODS
This commit is contained in:
parent
59c89ee135
commit
af48aa504b
3 changed files with 1 additions and 3 deletions
|
@ -34,4 +34,3 @@ _d("EXTRA_EXTS", ""); // string optional extra extensions
|
|||
_d("BASE_URL", null); // string force a specific base URL (default is auto-detect)
|
||||
_d("TRACE_FILE", null); // string file to log performance data into
|
||||
_d("TRACE_THRESHOLD", 0.0); // float log pages which take more time than this many seconds
|
||||
_d("ENABLED_MODS", "imageboard");
|
||||
|
|
|
@ -480,7 +480,7 @@ function require_all(array $files): void {
|
|||
function _load_core_files() {
|
||||
require_all(array_merge(
|
||||
zglob("core/*.php"),
|
||||
zglob("core/{".ENABLED_MODS."}/*.php"),
|
||||
zglob("core/imageboard/*.php"),
|
||||
zglob("ext/*/info.php")
|
||||
));
|
||||
}
|
||||
|
|
|
@ -16,7 +16,6 @@ define("VERSION", '2.8-dev');
|
|||
define("BASE_URL", null);
|
||||
define("TRACE_FILE", null);
|
||||
define("TRACE_THRESHOLD", 0.0);
|
||||
define("ENABLED_MODS", "imageboard");
|
||||
define("TIMEZONE", 'UTC');
|
||||
define("BASE_HREF", "/");
|
||||
define("CLI_LOG_LEVEL", 50);
|
||||
|
|
Reference in a new issue