diff options
author | Angie Byron <webchick@24967.no-reply.drupal.org> | 2008-09-20 20:22:25 +0000 |
---|---|---|
committer | Angie Byron <webchick@24967.no-reply.drupal.org> | 2008-09-20 20:22:25 +0000 |
commit | a3bb66e4e81817737ce02ce8f3d0cff5c32fdae9 (patch) | |
tree | e31979e262ad7731f7355c494ac722d474e74080 /modules/locale/locale.module | |
parent | 9c2e5a52c9762dacb97789226c2ee4065d1e18e9 (diff) | |
download | brdo-a3bb66e4e81817737ce02ce8f3d0cff5c32fdae9.tar.gz brdo-a3bb66e4e81817737ce02ce8f3d0cff5c32fdae9.tar.bz2 |
#259623 by dopry and Damien Tournoud: Convert includes/requires to use absolute paths.
Diffstat (limited to 'modules/locale/locale.module')
-rw-r--r-- | modules/locale/locale.module | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/locale/locale.module b/modules/locale/locale.module index 54cea750f..113728f51 100644 --- a/modules/locale/locale.module +++ b/modules/locale/locale.module @@ -187,7 +187,7 @@ function locale_menu() { function locale_inc_callback() { $args = func_get_args(); $function = array_shift($args); - include_once './includes/locale.inc'; + include_once DRUPAL_ROOT . '/includes/locale.inc'; return call_user_func_array($function, $args); } @@ -484,7 +484,7 @@ function locale_language_list($field = 'name', $all = FALSE) { * translations for. */ function locale_system_update($components) { - include_once 'includes/locale.inc'; + include_once DRUPAL_ROOT . '/includes/locale.inc'; if ($batch = locale_batch_by_component($components)) { batch_set($batch); } |