Draft v1
This commit is contained in:
14
LE/load_mod.php
Normal file
14
LE/load_mod.php
Normal file
@@ -0,0 +1,14 @@
|
||||
<?php
|
||||
$le_mod_loader = new LE_MOD_LOAD();
|
||||
LE::$QUERY_DATA_TYPE = LE_REQUEST::TYPE_DETECT();
|
||||
|
||||
//init space
|
||||
if ($le_mod_loader->init_path!==false)
|
||||
include $le_mod_loader->init_path;
|
||||
//load mod
|
||||
if ($le_mod_loader->mod_path!==false)
|
||||
include $le_mod_loader->mod_path;
|
||||
//not found
|
||||
if ($le_mod_loader->mod_path==false)
|
||||
include $le_mod_loader->select_path('main','__404.php');
|
||||
|
||||
Reference in New Issue
Block a user