diff options
| author | spiderr <spider@viovio.com> | 2012-05-25 10:30:27 -0400 |
|---|---|---|
| committer | spiderr <spider@viovio.com> | 2012-05-25 10:30:27 -0400 |
| commit | 5859a8f3568384c15f1f2b988a26ac1db277445c (patch) | |
| tree | 3b3015dd011087ff5b7d65d7bd020bdb8f3fe810 /read.php | |
| parent | 3a7fd75751f82ff9780f77401bebac7e3e3748a0 (diff) | |
| download | articles-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.php | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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' ); } |
