merge -r1402 from branch-1_6 into trunk

bug correction in get_root_url ('./../' was returning '')

git-svn-id: http://piwigo.org/svn/trunk@1403 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
rvelices
2006-06-24 21:23:10 +00:00
parent 7b791c1ba3
commit a437e15fcc
+4 -4
View File
@@ -37,17 +37,17 @@ function get_root_url()
{
$root_url = $page['root_path'];
}
else
else
{
$root_url = PHPWG_ROOT_PATH;
}
if ( dirname($root_url)!='.' )
{
return $root_url;
}
else
}
else
{
return '';
return substr($root_url, 2);
}
}