Mercurial > defr > drupal > core
comparison includes/path.inc @ 13:8b6c45761e01 6.6
Drupal 6.6
author | Franck Deroche <webmaster@defr.org> |
---|---|
date | Tue, 23 Dec 2008 14:32:33 +0100 |
parents | c1f4ac30525a |
children |
comparison
equal
deleted
inserted
replaced
12:4ca9f57cc4d4 | 13:8b6c45761e01 |
---|---|
1 <?php | 1 <?php |
2 // $Id: path.inc,v 1.19 2007/11/04 16:42:45 goba Exp $ | 2 // $Id: path.inc,v 1.19.2.1 2008/10/13 21:06:41 dries Exp $ |
3 | 3 |
4 /** | 4 /** |
5 * @file | 5 * @file |
6 * Functions to handle paths in Drupal, including path aliasing. | 6 * Functions to handle paths in Drupal, including path aliasing. |
7 * | 7 * |
56 } | 56 } |
57 | 57 |
58 if ($action == 'wipe') { | 58 if ($action == 'wipe') { |
59 $map = array(); | 59 $map = array(); |
60 $no_src = array(); | 60 $no_src = array(); |
61 $count = NULL; | |
61 } | 62 } |
62 elseif ($count > 0 && $path != '') { | 63 elseif ($count > 0 && $path != '') { |
63 if ($action == 'alias') { | 64 if ($action == 'alias') { |
64 if (isset($map[$path_language][$path])) { | 65 if (isset($map[$path_language][$path])) { |
65 return $map[$path_language][$path]; | 66 return $map[$path_language][$path]; |