New rule for routing URLs

This commit is contained in:
Diego Najar 2018-09-11 23:54:32 +02:00
parent 2e33afda0c
commit 59c637bdc8
2 changed files with 2 additions and 1 deletions

View File

@ -52,7 +52,6 @@ if ($layout['slug']==='ajax') {
else
{
// Boot rules
include(PATH_RULES.'60.router.php');
include(PATH_RULES.'69.pages.php');
include(PATH_RULES.'99.header.php');
include(PATH_RULES.'99.paginator.php');

View File

@ -1,5 +1,7 @@
<?php defined('BLUDIT') or die('Bludit CMS.');
var_dump($url);exit;
// Redirect admin, from /admin to /admin/
if ($url->uri()=='/'.ADMIN_URI_FILTER) {
Redirect::url(DOMAIN_ADMIN);