summaryrefslogtreecommitdiff
path: root/includes/install.inc
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2010-01-21 04:24:14 +0000
committerDries Buytaert <dries@buytaert.net>2010-01-21 04:24:14 +0000
commitce40e98e58c760f918955c14ffc2fdf687f471d0 (patch)
treefe1d3df1e0ddca5422a6c9dbaffbc396ee1aa9ef /includes/install.inc
parentb4a8b14642ae3d5a33d6124b24212f1e446ea74a (diff)
downloadbrdo-ce40e98e58c760f918955c14ffc2fdf687f471d0.tar.gz
brdo-ce40e98e58c760f918955c14ffc2fdf687f471d0.tar.bz2
- Patch #637146 by naxoc, David_Rothstein: HEAD install redirect failed because common.inc was not loaded in _db_check_install_needed().
Diffstat (limited to 'includes/install.inc')
-rw-r--r--includes/install.inc1
1 files changed, 1 insertions, 0 deletions
diff --git a/includes/install.inc b/includes/install.inc
index d1496fcbd..454e2ed45 100644
--- a/includes/install.inc
+++ b/includes/install.inc
@@ -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();