diff options
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); } |