Commit 639c9651 authored by Nigel McNie's avatar Nigel McNie Committed by Nigel McNie
Browse files

Use redirect() function instead of header/die.

parent 29a1b400
......@@ -29,8 +29,7 @@ require('init.php');
// check to see if we're installed...
if (!get_config('version')) {
header('Location: ' . get_config('wwwroot') . 'admin/index.php');
die();
redirect(get_config('wwwroot') . 'admin/index.php');
}
$smarty = smarty();
......
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