drupal_get_normal_path($path)
drupal-5/includes/path.inc, line 117
Given a path alias, return the internal path it represents.
$path A Drupal path alias.
The internal path represented by the alias, or the original alias if no internal path was found.
<?php
function drupal_get_normal_path($path) {
$result = $path;
if ($src = drupal_lookup_path('source', $path)) {
$result = $src;
}
if (function_exists('custom_url_rewrite')) {
$result = custom_url_rewrite('source', $result, $path);
}
return $result;
}
?>