summaryrefslogtreecommitdiff
path: root/includes/path.inc
diff options
context:
space:
mode:
Diffstat (limited to 'includes/path.inc')
-rw-r--r--includes/path.inc4
1 files changed, 2 insertions, 2 deletions
diff --git a/includes/path.inc b/includes/path.inc
index 77eb4233f..4e4a62e6c 100644
--- a/includes/path.inc
+++ b/includes/path.inc
@@ -13,7 +13,7 @@
/**
* Initialize the $_GET['q'] variable to the proper normal path.
*/
-function drupal_init_path() {
+function drupal_path_initialize() {
if (!empty($_GET['q'])) {
$_GET['q'] = drupal_get_normal_path(trim($_GET['q'], '/'));
}
@@ -309,7 +309,7 @@ function drupal_is_front_page() {
$is_front_page = &drupal_static(__FUNCTION__);
if (!isset($is_front_page)) {
- // As drupal_init_path updates $_GET['q'] with the 'site_frontpage' path,
+ // As drupal_path_initialize updates $_GET['q'] with the 'site_frontpage' path,
// we can check it against the 'site_frontpage' variable.
$is_front_page = ($_GET['q'] == drupal_get_normal_path(variable_get('site_frontpage', 'node')));
}