New rule for routing URLs
This commit is contained in:
parent
2e33afda0c
commit
59c637bdc8
|
@ -52,7 +52,6 @@ if ($layout['slug']==='ajax') {
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
// Boot rules
|
// Boot rules
|
||||||
include(PATH_RULES.'60.router.php');
|
|
||||||
include(PATH_RULES.'69.pages.php');
|
include(PATH_RULES.'69.pages.php');
|
||||||
include(PATH_RULES.'99.header.php');
|
include(PATH_RULES.'99.header.php');
|
||||||
include(PATH_RULES.'99.paginator.php');
|
include(PATH_RULES.'99.paginator.php');
|
||||||
|
|
|
@ -1,5 +1,7 @@
|
||||||
<?php defined('BLUDIT') or die('Bludit CMS.');
|
<?php defined('BLUDIT') or die('Bludit CMS.');
|
||||||
|
|
||||||
|
var_dump($url);exit;
|
||||||
|
|
||||||
// Redirect admin, from /admin to /admin/
|
// Redirect admin, from /admin to /admin/
|
||||||
if ($url->uri()=='/'.ADMIN_URI_FILTER) {
|
if ($url->uri()=='/'.ADMIN_URI_FILTER) {
|
||||||
Redirect::url(DOMAIN_ADMIN);
|
Redirect::url(DOMAIN_ADMIN);
|
||||||
|
|
Loading…
Reference in New Issue