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.

21 lines
425 B

  1. <?php
  2. /**
  3. * Файл роутеров
  4. *
  5. * @copyright
  6. * @link
  7. * @package Nakon
  8. * @subpackage Config
  9. * @since
  10. * @version SVN: $Id$
  11. * @filesource $URL: svn+ssh://192.168.10.199/www/svn/nakon/trunk/config/init.inc.php $
  12. */
  13. require('sys.inc.php');
  14. $path = explode('?', Env::Server('REQUEST_URI'));
  15. define('MJ_PATH', trim($path[0], '/'));
  16. unset($path);
  17. require(CONFIG_PATH.'/routers.inc.php');
  18. define('E_404', 404);
  19. ?>