summaryrefslogtreecommitdiff
path: root/view.php
diff options
context:
space:
mode:
authormodela bitweaver <spiderr@bitweaver.org>2021-02-02 01:17:18 -0500
committermodela bitweaver <spiderr@bitweaver.org>2021-02-02 01:17:18 -0500
commit1086b09bdce0b69ea6bf1c931cc0b6f3967921da (patch)
tree99351bbeb8105a2363f2b6dda6a3761d9107589c /view.php
parent54077c9779e114471b347068d431dd344e2389ff (diff)
downloadfisheye-1086b09bdce0b69ea6bf1c931cc0b6f3967921da.tar.gz
fisheye-1086b09bdce0b69ea6bf1c931cc0b6f3967921da.tar.bz2
fisheye-1086b09bdce0b69ea6bf1c931cc0b6f3967921da.zip
move _inc and _lib to includes/ and use PKG_INCLUDE_PATH constants
Diffstat (limited to 'view.php')
-rw-r--r--view.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/view.php b/view.php
index d7b6490..d18c185 100644
--- a/view.php
+++ b/view.php
@@ -18,7 +18,7 @@ global $gBitSystem, $fisheyeErrors, $fisheyeWarnings, $fisheyeSuccess;
//$gDebug = TRUE;
-include_once( FISHEYE_PKG_PATH.'gallery_lookup_inc.php' );
+include_once( FISHEYE_PKG_INCLUDE_PATH.'gallery_lookup_inc.php' );
if( $gContent && $gContent->isValid() ) {
$gBitSystem->setCanonicalLink( $gContent->getDisplayUrl() );
@@ -39,7 +39,7 @@ if( $gContent->isCommentable() ) {
$comments_prefix_var='fisheyegallery:';
$comments_object_var='fisheyegallery';
$comments_return_url = $_SERVER['SCRIPT_NAME']."?gallery_id=".$gContent->mGalleryId;
- include_once( LIBERTY_PKG_PATH.'comments_inc.php' );
+ include_once( LIBERTY_PKG_INCLUDE_PATH.'comments_inc.php' );
}
if (!empty($_REQUEST['download'])){
@@ -48,7 +48,7 @@ if (!empty($_REQUEST['download'])){
$gContent->verifyUserPermission('p_fisheye_download_gallery_arc');
$gContent->download();
} else {
- require_once( FISHEYE_PKG_PATH.'display_fisheye_gallery_inc.php' );
+ require_once( FISHEYE_PKG_INCLUDE_PATH.'display_fisheye_gallery_inc.php' );
}
?>