Skip to content

Commit

Permalink
Must exit after header redirects
Browse files Browse the repository at this point in the history
  • Loading branch information
DavidGoodwin committed May 2, 2014
1 parent 82a8e12 commit 403954d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions config.php
Expand Up @@ -51,6 +51,7 @@
*/
if (!is_file(dirname(__FILE__) . '/database.php')) {
header("Location: " . $_SERVER['REQUEST_URI'] . "setup/");
exit(0);
}

require_once(dirname(__FILE__) . '/database.php');
Expand Down

0 comments on commit 403954d

Please sign in to comment.