summaryrefslogtreecommitdiff
path: root/view_image.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_image.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_image.php')
-rw-r--r--view_image.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/view_image.php b/view_image.php
index 4c362cd..604c085 100644
--- a/view_image.php
+++ b/view_image.php
@@ -25,7 +25,7 @@ if( !empty( $_REQUEST['refresh'] ) ) {
$gBitSmarty->assign( 'refresh', '?refresh='.time() );
}
-include_once( FISHEYE_PKG_PATH.'image_lookup_inc.php' );
+include_once( FISHEYE_PKG_INCLUDE_PATH.'image_lookup_inc.php' );
if( $gContent && $gContent->isValid() ) {
$gBitSystem->setCanonicalLink( $gContent->getDisplayUrl() );
@@ -40,7 +40,7 @@ if( is_object( $gGallery ) && $gGallery->isCommentable() ) {
$comments_prefix_var='fisheyeimage:';
$comments_object_var='fisheyeimage';
$comments_return_url = $_SERVER['SCRIPT_NAME']."?image_id=".$gContent->mImageId;
- include_once( LIBERTY_PKG_PATH.'comments_inc.php' );
+ include_once( LIBERTY_PKG_INCLUDE_PATH.'comments_inc.php' );
}
$gContent->addHit();
@@ -56,4 +56,4 @@ if( $gContent->hasUpdatePermission() ) {
}
}
-require_once( FISHEYE_PKG_PATH.'display_fisheye_image_inc.php' );
+require_once( FISHEYE_PKG_INCLUDE_PATH.'display_fisheye_image_inc.php' );