From d5f27da9461cdbb347e243c2de85487202b0012c Mon Sep 17 00:00:00 2001 From: Diego Najar Date: Wed, 12 Sep 2018 18:21:21 +0200 Subject: [PATCH] Fix for admin redirect --- .htaccess | 2 +- bl-kernel/boot/rules/60.router.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.htaccess b/.htaccess index 7a181871..c758e98f 100644 --- a/.htaccess +++ b/.htaccess @@ -6,7 +6,7 @@ AddDefaultCharset UTF-8 RewriteEngine on # Base directory -# RewriteBase / +RewriteBase / # Deny direct access to the next directories RewriteRule ^bl-content/(databases|workspaces|pages|tmp|)/.*$ - [R=404,L] diff --git a/bl-kernel/boot/rules/60.router.php b/bl-kernel/boot/rules/60.router.php index 7ac8024d..81faeb00 100644 --- a/bl-kernel/boot/rules/60.router.php +++ b/bl-kernel/boot/rules/60.router.php @@ -1,7 +1,7 @@ uri()=='/'.ADMIN_URI_FILTER) { +if ($url->uri()==HTML_PATH_ROOT.ADMIN_URI_FILTER) { Redirect::url(DOMAIN_ADMIN); }