diff options
author | Angie Byron <webchick@24967.no-reply.drupal.org> | 2009-12-06 18:27:23 +0000 |
---|---|---|
committer | Angie Byron <webchick@24967.no-reply.drupal.org> | 2009-12-06 18:27:23 +0000 |
commit | 614a4dea23f15199731e71c87f07e78808ed9a08 (patch) | |
tree | e7f3c1cd6e58f3bfaf55ae5b5fffad9e2065e888 /modules/node/node.module | |
parent | d57f7baa958b58220fd97aa91b860767a7a076f3 (diff) | |
download | brdo-614a4dea23f15199731e71c87f07e78808ed9a08.tar.gz brdo-614a4dea23f15199731e71c87f07e78808ed9a08.tar.bz2 |
#320132 by kbahey, catch: Make path.inc swappable.
Diffstat (limited to 'modules/node/node.module')
-rw-r--r-- | modules/node/node.module | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/node/node.module b/modules/node/node.module index 8561fcb11..24c09995d 100644 --- a/modules/node/node.module +++ b/modules/node/node.module @@ -1281,7 +1281,7 @@ function node_language_negotiation_info() { * A valid language code on succes, FALSE otherwise. */ function node_language_provider($languages) { - require_once DRUPAL_ROOT . '/includes/path.inc'; + require_once DRUPAL_ROOT . '/' . variable_get('path_inc', 'includes/path.inc'); $path = isset($_GET['q']) ? $_GET['q'] : ''; list($language, $path) = language_url_split_prefix($path, $languages); |