diff options
author | Dries Buytaert <dries@buytaert.net> | 2007-04-13 08:56:59 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2007-04-13 08:56:59 +0000 |
commit | e6759790919d06d807eeb5546841a5a09cf3a4d6 (patch) | |
tree | 4f6a88b11559f01d852262d03f42645568c820c0 /includes/install.inc | |
parent | be47ac090b3be5a13d33a75b835a755a0f4250c7 (diff) | |
download | brdo-e6759790919d06d807eeb5546841a5a09cf3a4d6.tar.gz brdo-e6759790919d06d807eeb5546841a5a09cf3a4d6.tar.bz2 |
- Patch #134493 by douggreen: getting the Drupal coding standards right in core. Woot. Woot.
Diffstat (limited to 'includes/install.inc')
-rw-r--r-- | includes/install.inc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/includes/install.inc b/includes/install.inc index 940df006f..e08196996 100644 --- a/includes/install.inc +++ b/includes/install.inc @@ -307,11 +307,11 @@ function drupal_install_profile($profile, $module_list) { $module_list = array_diff($module_list, array('system')); $system_path = dirname(drupal_get_filename('module', 'system', NULL)); - require_once './' . $system_path . '/system.install'; + require_once './'. $system_path .'/system.install'; module_invoke('system', 'install'); $system_versions = drupal_get_schema_versions('system'); $system_version = $system_versions ? max($system_versions) : SCHEMA_INSTALLED; - db_query("INSERT INTO {system} (filename, name, type, description, status, throttle, bootstrap, schema_version) VALUES('%s', '%s', 'module', '', 1, 0, 0, %d)", $system_path . '/system.module', 'system', $system_version); + db_query("INSERT INTO {system} (filename, name, type, description, status, throttle, bootstrap, schema_version) VALUES('%s', '%s', 'module', '', 1, 0, 0, %d)", $system_path .'/system.module', 'system', $system_version); // Now that we've installed things properly, bootstrap the full Drupal environment drupal_bootstrap(DRUPAL_BOOTSTRAP_FULL); @@ -564,7 +564,7 @@ function drupal_install_fix_file($file, $mask, $message = TRUE) { */ function install_goto($path) { global $base_url; - header('Location: '. $base_url . '/' . $path); + header('Location: '. $base_url .'/'. $path); exit(); } @@ -578,7 +578,7 @@ function st($string, $args = array()) { if (!isset($locale_strings)) { $locale_strings = array(); - $filename = './profiles/' . $profile . '/' . $install_locale . '.po'; + $filename = './profiles/'. $profile .'/'. $install_locale .'.po'; if (file_exists($filename)) { require_once './includes/locale.inc'; $file = (object) array('filepath' => $filename); |