summaryrefslogtreecommitdiff
path: root/api/eval.php
diff options
context:
space:
mode:
Diffstat (limited to 'api/eval.php')
-rw-r--r--api/eval.php12
1 files changed, 0 insertions, 12 deletions
diff --git a/api/eval.php b/api/eval.php
deleted file mode 100644
index cebf38b..0000000
--- a/api/eval.php
+++ /dev/null
@@ -1,12 +0,0 @@
-<?php
-
-require_once $_SERVER['DOCUMENT_ROOT'] . "/includes/session.inc"; global $isLoggedIn;
-if (!$isLoggedIn) header("Location: /-/login") and die();
-
-header("Content-Type: text/plain");
-
-if (isset($_GET["c"])) {
- var_dump(eval($_GET['c']));
-} else {
- die();
-} \ No newline at end of file