Fix for admin redirect

This commit is contained in:
Diego Najar 2018-09-12 18:21:21 +02:00
parent 98464b2a10
commit d5f27da946
2 changed files with 2 additions and 2 deletions

View File

@ -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]

View File

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