New rule for routing URLs

This commit is contained in:
Diego Najar 2018-09-11 23:54:53 +02:00
parent 59c637bdc8
commit 98464b2a10

View File

@ -1,7 +1,5 @@
<?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);