File tree Expand file tree Collapse file tree 2 files changed +27
-24
lines changed
Expand file tree Collapse file tree 2 files changed +27
-24
lines changed Original file line number Diff line number Diff line change 1+ <?php
2+
3+ /**
4+ * @author Mohammed Moussaoui
5+ * @license MIT license. For more license information, see the LICENSE file in the root directory.
6+ * @link https://github.com/DevNet-Framework
7+ */
8+
9+ use DevNet \System \Runtime \ClassLoader ;
10+
11+ require_once __DIR__ . '/lib/Runtime/ClassLoader.php ' ;
12+
13+ $ loader = new ClassLoader (dirname (__DIR__ ));
14+
15+ $ loader ->mapNamespace ('DevNet \\System ' , 'system/lib/ ' );
16+ $ loader ->mapNamespace ('DevNet \\Core ' , 'core/lib/ ' );
17+ $ loader ->mapNamespace ('DevNet \\Common ' , 'common/lib/ ' );
18+ $ loader ->mapNamespace ('DevNet \\Http ' , 'http/lib/ ' );
19+ $ loader ->mapNamespace ('DevNet \\Security ' , 'security/lib/ ' );
20+ $ loader ->mapNamespace ('DevNet \\ORM ' , 'orm/lib/ ' );
21+ $ loader ->mapNamespace ('DevNet \\ORM \\MySql ' , 'orm/lib/Providers/MySql/ ' );
22+ $ loader ->mapNamespace ('DevNet \\ORM \\PgSql ' , 'orm/lib/Providers/PgSql/ ' );
23+ $ loader ->mapNamespace ('DevNet \\ORM \\Sqlite ' , 'orm/lib/Providers/Sqlite/ ' );
24+ $ loader ->include (__DIR__ . '/global.php ' );
25+
26+ $ loader ->register ();
27+
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments