aboutsummaryrefslogtreecommitdiffstats
path: root/admin/infos_images.php
diff options
context:
space:
mode:
Diffstat (limited to 'admin/infos_images.php')
-rw-r--r--admin/infos_images.php4
1 files changed, 0 insertions, 4 deletions
diff --git a/admin/infos_images.php b/admin/infos_images.php
index 342b43d45..344573eac 100644
--- a/admin/infos_images.php
+++ b/admin/infos_images.php
@@ -272,10 +272,6 @@ if ( isset( $page['cat'] ) )
get_complete_dir( $row['storage_category_id'] );
}
$thumbnail_url = $array_cat_directories[$row['storage_category_id']];
- if ( preg_match( '/^\.\/galleries/', $thumbnail_url ) )
- {
- $thumbnail_url = '.'.$thumbnail_url;
- }
$thumbnail_url.= 'thumbnail/';
$thumbnail_url.= $conf['prefix_thumbnail'].$file.".".$row['tn_ext'];
$vtp->setVar( $sub, 'picture.thumbnail_url', $thumbnail_url );