summaryrefslogtreecommitdiff
path: root/read.php
diff options
context:
space:
mode:
authorspiderr <spider@viovio.com>2012-05-25 10:30:27 -0400
committerspiderr <spider@viovio.com>2012-05-25 10:30:27 -0400
commit5859a8f3568384c15f1f2b988a26ac1db277445c (patch)
tree3b3015dd011087ff5b7d65d7bd020bdb8f3fe810 /read.php
parent3a7fd75751f82ff9780f77401bebac7e3e3748a0 (diff)
downloadarticles-5859a8f3568384c15f1f2b988a26ac1db277445c.tar.gz
articles-5859a8f3568384c15f1f2b988a26ac1db277445c.tar.bz2
articles-5859a8f3568384c15f1f2b988a26ac1db277445c.zip
replace PHP_SELF with SCRIPT_NAME
Diffstat (limited to 'read.php')
-rw-r--r--read.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/read.php b/read.php
index 55104ea..c235eac 100644
--- a/read.php
+++ b/read.php
@@ -56,7 +56,7 @@ if( @$gContent->mInfo['allow_comments'] == 'y' ) {
$comments_prefix_var='article:';
$comments_object_var='article';
$commentsParentId = $gContent->mContentId;
- $comments_return_url = $_SERVER['PHP_SELF']."?article_id=".$_REQUEST['article_id'];
+ $comments_return_url = $_SERVER['SCRIPT_NAME']."?article_id=".$_REQUEST['article_id'];
include_once( LIBERTY_PKG_PATH.'comments_inc.php' );
}