芝麻web文件管理V1.00
编辑当前文件:/home2/sdektunc/.trash/libraries.8/src/Application/ExtensionNamespaceMapper.php
* @license GNU General Public License version 2 or later; see LICENSE */ namespace Joomla\CMS\Application; \defined('JPATH_PLATFORM') or die; use JLoader; /** * Trait for application classes which ensures the namespace mapper exists and includes it. * * @since 4.0.0 */ trait ExtensionNamespaceMapper { /** * Allows the application to load a custom or default identity. * * @return void * * @since 4.0.0 */ public function createExtensionNamespaceMap() { JLoader::register('JNamespacePsr4Map', JPATH_LIBRARIES . '/namespacemap.php'); $extensionPsr4Loader = new \JNamespacePsr4Map; $extensionPsr4Loader->load(); } }