aboutsummaryrefslogtreecommitdiffstats
path: root/admin/infos_images.php
diff options
context:
space:
mode:
authorz0rglub <z0rglub@piwigo.org>2003-11-03 21:35:24 +0000
committerz0rglub <z0rglub@piwigo.org>2003-11-03 21:35:24 +0000
commit860a39302ead57c596bec64e9d738c5dd69640bd (patch)
treea71089e36e0f9c2a90ff5fc373dc5f07551e5ddb /admin/infos_images.php
parent5fdc7ea1e582c7378ea8fd8ac3a9a50ec5298970 (diff)
Modifications linked to the move of admin.php to the root directory of PhpWebGallery
git-svn-id: http://piwigo.org/svn/trunk@228 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to '')
-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 );