1
0
mirror of https://github.com/monstra-cms/monstra.git synced 2025-08-05 20:57:49 +02:00

Fix 404 when using certain server configurations

This commit is contained in:
Sergei Kuznetcov
2015-11-27 15:55:26 +05:00
parent fb90f35cf3
commit 30a78d2f67

View File

@@ -156,7 +156,7 @@ if ($is_admin) {
if (Request::get('id')) {
$area = Request::get('id');
} else {
Request::redirect('index.php?id=dashboard');
Request::redirect(Site::url().'/admin/index.php?id=dashboard');
}
$plugins_registered = Plugin::$plugins;