mirror of
https://github.com/e107inc/e107.git
synced 2025-08-02 04:40:44 +02:00
Check for old compatibility class and load if found. (BC fix)
This commit is contained in:
@@ -380,6 +380,11 @@ elseif ($merror === 'e2')
|
|||||||
/* PHP Compatabilty should *always* be on. */
|
/* PHP Compatabilty should *always* be on. */
|
||||||
e107_require_once(e_HANDLER.'php_compatibility_handler.php');
|
e107_require_once(e_HANDLER.'php_compatibility_handler.php');
|
||||||
|
|
||||||
|
if(file_exists(e_HANDLER."e107_Compat_handler.php")) // upgraded site, and may still be required for old plugins.
|
||||||
|
{
|
||||||
|
e107_require_once(e_HANDLER."e107_Compat_handler.php");
|
||||||
|
}
|
||||||
|
|
||||||
//
|
//
|
||||||
// L: Extract core prefs from the database
|
// L: Extract core prefs from the database
|
||||||
//
|
//
|
||||||
|
Reference in New Issue
Block a user