From 5d658d08481c22b5ef577b39a29cd647438b211f Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Sun, 22 Feb 2009 17:55:30 +0000 Subject: - Patch #380064 by c960657: make file_scan_directory() use save property names as file_load(). --- install.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'install.php') diff --git a/install.php b/install.php index 367f15650..3c4f8f9b7 100644 --- a/install.php +++ b/install.php @@ -420,7 +420,7 @@ function install_select_profile() { // Don't need to choose profile if only one available. if (sizeof($profiles) == 1) { $profile = array_pop($profiles); - require_once $profile->filename; + require_once $profile->filepath; return $profile->name; } elseif (sizeof($profiles) > 1) { @@ -451,7 +451,7 @@ function install_select_profile_form(&$form_state, $profile_files) { $names = array(); foreach ($profile_files as $profile) { - include_once DRUPAL_ROOT . '/' . $profile->filename; + include_once DRUPAL_ROOT . '/' . $profile->filepath; // Load profile details and store them for later retrieval. $function = $profile->name . '_profile_details'; -- cgit v1.2.3