X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2FDefines.php;h=bd92ff06838747e1dc3f04c68b355cbf65ffa2df;hb=3a43e0d61b905db8863f5d86d0df5dc43b4171da;hp=06168980ce354312053c9aa14b2aaa200dcdedf0;hpb=ce079cf6ad79ca8d3360817f809b219d166f9153;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/Defines.php b/includes/Defines.php index 06168980ce..bd92ff0683 100644 --- a/includes/Defines.php +++ b/includes/Defines.php @@ -20,6 +20,10 @@ * @file */ +require_once __DIR__ . '/libs/mime/defines.php'; +require_once __DIR__ . '/libs/rdbms/defines.php'; +require_once __DIR__ . '/compat/normal/UtfNormalDefines.php'; + /** * @defgroup Constants MediaWiki constants */ @@ -97,8 +101,6 @@ define( 'CACHE_MEMCACHED', 2 ); // MemCached, must specify servers in $wgMemCac define( 'CACHE_ACCEL', 3 ); // APC, XCache or WinCache /**@}*/ -require_once __DIR__ . '/libs/mime/defines.php'; - /**@{ * Antivirus result codes, for use in $wgAntivirusSetup. */ @@ -153,16 +155,6 @@ define( 'EDIT_AUTOSUMMARY', 64 ); define( 'EDIT_INTERNAL', 128 ); /**@}*/ -/** - * Database related - */ -require_once __DIR__ . '/libs/rdbms/defines.php'; - -/** - * Unicode and normalisation related - */ -require_once __DIR__ . '/compat/normal/UtfNormalDefines.php'; - /**@{ * Hook support constants */