Commit ce40e98e authored by Dries's avatar Dries
Browse files

- Patch #637146 by naxoc, David_Rothstein: HEAD install redirect failed...

- Patch #637146 by naxoc, David_Rothstein: HEAD install redirect failed because common.inc was not loaded in _db_check_install_needed().
parent b4a8b146
......@@ -879,6 +879,7 @@ function drupal_install_fix_file($file, $mask, $message = TRUE) {
*/
function install_goto($path) {
global $base_url;
include_once DRUPAL_ROOT . '/includes/common.inc';
header('Location: ' . $base_url . '/' . $path);
header('Cache-Control: no-cache'); // Not a permanent redirect.
drupal_exit();
......
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