summaryrefslogtreecommitdiff
path: root/src/frontend_blog/essay_cc_pay.php
diff options
context:
space:
mode:
Diffstat (limited to 'src/frontend_blog/essay_cc_pay.php')
-rw-r--r--src/frontend_blog/essay_cc_pay.php18
1 files changed, 0 insertions, 18 deletions
diff --git a/src/frontend_blog/essay_cc_pay.php b/src/frontend_blog/essay_cc_pay.php
deleted file mode 100644
index 90cd080f..00000000
--- a/src/frontend_blog/essay_cc_pay.php
+++ /dev/null
@@ -1,18 +0,0 @@
-<?php
-session_start();
-if (!$_SESSION['cc_payment'])
-{
- echo "No session active";
- die();
-}
-$article = $_GET['article'];
-$_SESSION['payment_ok'] = true;
-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);
-$url = 'http://' . $_SERVER['HTTP_HOST'] . "/essay_fulfillment.php?article=$article";
-header("Location: " . $url);
-echo $url;
-die();
-?>