mirror of
https://github.com/e107inc/e107.git
synced 2025-01-17 20:58:30 +01:00
60056deb93
e_shims is an e107 v2-compatible class for the first namespaced core class, e107\Shims\All. e107\Shims\All is built from the e107\Shims\InternalShims trait. e107\Shims\InternalShims currently implements a resilient replacement for the PHP internal readfile(), which is needed by issue #3528. As for how the new namespaced classes are handled, the e107 class (e107_handlers/e107_class.php) has an updated e107::autoload() which detects namespaced classes and goes to e107::autoload_namespaced(). Namespaced classes handled by e107 are in the \e107 top-level namespace, and all sub-levels match directory paths under e_HANDLER.