diff options
Diffstat (limited to 'src/frontend_blog/essay_cc_pay.php')
-rw-r--r-- | src/frontend_blog/essay_cc_pay.php | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/frontend_blog/essay_cc_pay.php b/src/frontend_blog/essay_cc_pay.php index a0bc8ba8..90cd080f 100644 --- a/src/frontend_blog/essay_cc_pay.php +++ b/src/frontend_blog/essay_cc_pay.php @@ -11,10 +11,6 @@ if (!isset($_SESSION['allowed_articles'])) $_SESSION['allowed_articles'] = array ($article => true); else $_SESSION['allowed_articles'] = array_merge($_SESSION['allowed_articles'], array ($article => true)); http_response_code (301); -// WARNING: the following construct yields non-expected forms when using URL -// parameter in it -//$url = (new http\URL($_SERVER['REQUEST_SCHEME'] . '://' . $_SERVER['HTTP_HOST'])) -// ->mod(array ("path" => "essay_fulfillment.php?article=$article"), http\Url::JOIN_PATH); $url = 'http://' . $_SERVER['HTTP_HOST'] . "/essay_fulfillment.php?article=$article"; header("Location: " . $url); echo $url; |