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:
parent
0e75a1c6d3
commit
ba5b2c41bd
1 changed files with 1 additions and 1 deletions
|
|
@ -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'];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue