blob: 9f62e38824f5134644a823e4175c27aab6952f61 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
<?php
/**
* @package fisheye
* @subpackage functions
*/
global $gContent;
use \Bitweaver\Fisheye\FisheyeGallery;
$lookup = [];
if( !$gContent = FisheyeGallery::lookup( $_REQUEST ) ) {
$gContent = new FisheyeGallery();
$galleryId = null;
}
if( !empty( $_REQUEST['gallery_path'] ) ) {
$gContent->setGalleryPath( $_REQUEST['gallery_path'] );
}
$gBitSmarty->assign('gContent', $gContent);
$gBitSmarty->assign('galleryId', $gContent->mGalleryId);
|