summaryrefslogtreecommitdiff
path: root/gallery_lookup_inc.php
diff options
context:
space:
mode:
authorspiderr <spider@viovio.com>2010-12-28 17:14:11 -0500
committerspiderr <spider@viovio.com>2010-12-28 17:14:11 -0500
commitfe02d98df4d6b99e710e22a8aaa7e31de06a8c92 (patch)
tree448471bfb0a08c18e38ccb5e832248a38e97a1d9 /gallery_lookup_inc.php
parent62de5a62f58c5eb9c2dc5343f6700d62f27b02df (diff)
downloadfisheye-fe02d98df4d6b99e710e22a8aaa7e31de06a8c92.tar.gz
fisheye-fe02d98df4d6b99e710e22a8aaa7e31de06a8c92.tar.bz2
fisheye-fe02d98df4d6b99e710e22a8aaa7e31de06a8c92.zip
add gallerific gallery_view, completely modularize gallery_views, add galleryTree to editing
Diffstat (limited to 'gallery_lookup_inc.php')
-rw-r--r--gallery_lookup_inc.php5
1 files changed, 0 insertions, 5 deletions
diff --git a/gallery_lookup_inc.php b/gallery_lookup_inc.php
index bee27f8..12bef78 100644
--- a/gallery_lookup_inc.php
+++ b/gallery_lookup_inc.php
@@ -1,6 +1,5 @@
<?php
/**
- * @version $Header$
* @package fisheye
* @subpackage functions
*/
@@ -16,12 +15,8 @@ if( !$gContent = FisheyeGallery::lookup( $_REQUEST ) ) {
if( !empty( $_REQUEST['gallery_path'] ) ) {
$gContent->setGalleryPath( $_REQUEST['gallery_path'] );
-} elseif( $gContent->isValid() && $parents = $gContent->getParentGalleries() ) {
- $gal = current( $parents );
- $gContent->setGalleryPath( '/'.$gal['gallery_id'] );
}
$gBitSmarty->assign_by_ref('gContent', $gContent);
$gBitSmarty->assign_by_ref('galleryId', $gContent->mGalleryId);
-?>