You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

19 lines
563 B

<?php
$le_mod_loader = new LE_MOD_LOAD();
LE::$QUERY_DATA_TYPE = LE_REQUEST::TYPE_DETECT();
LE::$FULL_URL = LE_REQUEST::url2arr()['full_url'];
//default mod prefix = space (for example - admin)
if ($le_mod_loader->space!==false) LE::$TPL->prefix=$le_mod_loader->space;
//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');