mirror of
https://github.com/e107inc/e107.git
synced 2025-04-21 13:11:52 +02:00
Check for old compatibility class and load if found. (BC fix)
This commit is contained in:
parent
4140f649a9
commit
25e671413a
@ -380,6 +380,11 @@ elseif ($merror === 'e2')
|
||||
/* PHP Compatabilty should *always* be on. */
|
||||
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
|
||||
//
|
||||
|
Loading…
x
Reference in New Issue
Block a user