summaryrefslogtreecommitdiff
path: root/send_post.php
diff options
context:
space:
mode:
authorspiderr <spider@viovio.com>2012-05-25 10:37:48 -0400
committerspiderr <spider@viovio.com>2012-05-25 10:37:48 -0400
commit5cf799caeb8780a31b166c73e247931560117a0d (patch)
treeb907e68928307e29447ce555948710642e61114f /send_post.php
parent6aeb3b3f1f9255dddbfbac2b80e59b1824c9e23a (diff)
downloadblogs-5cf799caeb8780a31b166c73e247931560117a0d.tar.gz
blogs-5cf799caeb8780a31b166c73e247931560117a0d.tar.bz2
blogs-5cf799caeb8780a31b166c73e247931560117a0d.zip
replace PHP_SELF with SCRIPT_NAME
Diffstat (limited to 'send_post.php')
-rw-r--r--send_post.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/send_post.php b/send_post.php
index 9e972d6..777cad8 100644
--- a/send_post.php
+++ b/send_post.php
@@ -53,7 +53,7 @@ if ($gBitSystem->isFeatureActive( 'blog_posts_comments' )) {
'sort_mode'
);
- $comments_return_url = $_SERVER['PHP_SELF']."?post_id=".$gContent->mPostId;
+ $comments_return_url = $_SERVER['SCRIPT_NAME']."?post_id=".$gContent->mPostId;
$commentsParentId = $gContent->mContentId;
$comments_prefix_var = 'post:';
$comments_object_var = 'post_id';