summaryrefslogtreecommitdiff
path: root/includes/install.inc
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2010-05-18 18:11:13 +0000
committerDries Buytaert <dries@buytaert.net>2010-05-18 18:11:13 +0000
commitd4200e260003dc1e75cd27db8f1b286fa6a30931 (patch)
tree26fc792a37f4f98f43167c5fed40f079f012bdab /includes/install.inc
parent245454bece3e3a460ed1504117a4dd7eb635fd8d (diff)
downloadbrdo-d4200e260003dc1e75cd27db8f1b286fa6a30931.tar.gz
brdo-d4200e260003dc1e75cd27db8f1b286fa6a30931.tar.bz2
- Patch #763850 by c960657: require_once() and drupal_get_path() inconsistencies.
Diffstat (limited to 'includes/install.inc')
-rw-r--r--includes/install.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/includes/install.inc b/includes/install.inc
index 1d3595547..c5083eb0a 100644
--- a/includes/install.inc
+++ b/includes/install.inc
@@ -547,7 +547,7 @@ function drupal_verify_profile($install_state) {
* functions can be made available while other modules are installed.
*/
function drupal_install_system() {
- $system_path = dirname(drupal_get_filename('module', 'system', NULL));
+ $system_path = drupal_get_path('module', 'system');
require_once DRUPAL_ROOT . '/' . $system_path . '/system.install';
module_invoke('system', 'install');