Commit 228132d9 authored by Nigel McNie's avatar Nigel McNie Committed by Nigel McNie
Browse files

Redirect to the directory instead of the index.php file inside it

parent 2443fd81
......@@ -175,7 +175,7 @@ if (!get_config('installed')
&& false === strpos($_SERVER['SCRIPT_FILENAME'], 'admin/index.php')
&& false === strpos($_SERVER['SCRIPT_FILENAME'], 'admin/upgrade.php')
&& false === strpos($_SERVER['SCRIPT_FILENAME'], 'admin/upgrade.json.php')) {
redirect(get_config('wwwroot') . 'admin/index.php');
redirect('admin/');
}
?>
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment