Use get_complete_dir to retrieve category directory

git-svn-id: http://piwigo.org/svn/trunk@82 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
z0rglub
2003-09-08 18:59:11 +00:00
parent 0e75a1c6d3
commit ba5b2c41bd

View File

@@ -105,7 +105,7 @@ if ( isset( $page['cat'] ) and is_numeric( $page['cat'] ) )
{
check_restrictions( $page['cat'] );
$result = get_cat_info( $page['cat'] );
$page['cat_dir'] = $result['dir'];
$page['cat_dir'] = get_complete_dir( $page['cat'] );
$page['cat_site_id'] = $result['site_id'];
$page['cat_name'] = $result['name'];
$page['cat_uploadable'] = $result['uploadable'];