1
0
mirror of https://github.com/e107inc/e107.git synced 2025-07-31 20:00:37 +02:00

Forward compatibility with Composer autoloading

This commit is contained in:
Deltik
2018-12-23 03:24:09 -06:00
committed by Nick Liu
parent 2a69227135
commit f8d0b628e0

View File

@@ -5234,7 +5234,12 @@ class e107
e107::autoload_register(array(e107::class, 'autoload')); e107::autoload_register(array(e107::class, 'autoload'));
// Forward compatibility with e107 v3 Composer autoloading
$vendor_autoload_file = __DIR__."/vendor/autoload.php";
if (file_exists($vendor_autoload_file))
{
include_once($vendor_autoload_file);
}
/** /**
* Interface e_admin_addon_interface @move to separate addons file? * Interface e_admin_addon_interface @move to separate addons file?