mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-03-28 17:42:57 +01:00
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:
@@ -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'];
|
||||
|
||||
Reference in New Issue
Block a user