summaryrefslogtreecommitdiff
path: root/view.php
diff options
context:
space:
mode:
authorspiderr <spider@viovio.com>2012-05-25 10:31:49 -0400
committerspiderr <spider@viovio.com>2012-05-25 10:31:49 -0400
commita1c71a83dfb8b57b509916d032924db6216beade (patch)
treea4fcf9e8986224f3285e6b875398d9160933e811 /view.php
parent49de037d5ff88c52f3624262390e879e7cf9c410 (diff)
downloadfisheye-a1c71a83dfb8b57b509916d032924db6216beade.tar.gz
fisheye-a1c71a83dfb8b57b509916d032924db6216beade.tar.bz2
fisheye-a1c71a83dfb8b57b509916d032924db6216beade.zip
replace PHP_SELF with SCRIPT_NAME
Diffstat (limited to 'view.php')
-rw-r--r--view.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/view.php b/view.php
index 3fafee1..2d4895f 100644
--- a/view.php
+++ b/view.php
@@ -33,7 +33,7 @@ if( $gContent->isCommentable() ) {
$comments_vars = Array('fisheyegallery');
$comments_prefix_var='fisheyegallery:';
$comments_object_var='fisheyegallery';
- $comments_return_url = $_SERVER['PHP_SELF']."?gallery_id=".$gContent->mGalleryId;
+ $comments_return_url = $_SERVER['SCRIPT_NAME']."?gallery_id=".$gContent->mGalleryId;
include_once( LIBERTY_PKG_PATH.'comments_inc.php' );
}