diff options
| author | spiderr <spider@viovio.com> | 2012-05-25 10:37:48 -0400 |
|---|---|---|
| committer | spiderr <spider@viovio.com> | 2012-05-25 10:37:48 -0400 |
| commit | 5cf799caeb8780a31b166c73e247931560117a0d (patch) | |
| tree | b907e68928307e29447ce555948710642e61114f /print_blog_post.php | |
| parent | 6aeb3b3f1f9255dddbfbac2b80e59b1824c9e23a (diff) | |
| download | blogs-5cf799caeb8780a31b166c73e247931560117a0d.tar.gz blogs-5cf799caeb8780a31b166c73e247931560117a0d.tar.bz2 blogs-5cf799caeb8780a31b166c73e247931560117a0d.zip | |
replace PHP_SELF with SCRIPT_NAME
Diffstat (limited to 'print_blog_post.php')
| -rw-r--r-- | print_blog_post.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/print_blog_post.php b/print_blog_post.php index 9661513..f6ac253 100644 --- a/print_blog_post.php +++ b/print_blog_post.php @@ -58,7 +58,7 @@ $gBitSmarty->assign( 'parsed_data', $gContent->parseData() ); $gBitSystem->verifyPermission( 'p_blogs_view' ); if ($gBitSystem->isFeatureActive( 'blog_posts_comments' )) { - $comments_return_url = $_SERVER['PHP_SELF']."?post_id=".$gContent->getField( 'post_id' ); + $comments_return_url = $_SERVER['SCRIPT_NAME']."?post_id=".$gContent->getField( 'post_id' ); $commentsParentId = $gContent->mContentId; include_once ( LIBERTY_PKG_PATH.'comments_inc.php' ); } |
