about summary refs log tree commit diff stats
path: root/wiki/lib/exe/ajax.php
diff options
context:
space:
mode:
authorahriman <ahriman@falte.red>2019-01-02 04:57:35 +0000
committerahriman <ahriman@falte.red>2019-01-02 04:57:35 +0000
commit2bd7f83a6495011ada78ca8a9f2af417caf01760 (patch)
treef9acdb7f09e011c65330ab993d4db3620787dbfb /wiki/lib/exe/ajax.php
parentbcb215c3a7e914d05f166846a33860e48bba64fb (diff)
downloadsite-2bd7f83a6495011ada78ca8a9f2af417caf01760.tar.gz
removed dokuwiki
Diffstat (limited to 'wiki/lib/exe/ajax.php')
-rw-r--r--wiki/lib/exe/ajax.php25
1 files changed, 0 insertions, 25 deletions
diff --git a/wiki/lib/exe/ajax.php b/wiki/lib/exe/ajax.php
deleted file mode 100644
index 55f1c87..0000000
--- a/wiki/lib/exe/ajax.php
+++ /dev/null
@@ -1,25 +0,0 @@
-<?php
-/**
- * DokuWiki AJAX call handler
- *
- * @license    GPL 2 (http://www.gnu.org/licenses/gpl.html)
- * @author     Andreas Gohr <andi@splitbrain.org>
- */
-
-if(!defined('DOKU_INC')) define('DOKU_INC', dirname(__FILE__) . '/../../');
-require_once(DOKU_INC . 'inc/init.php');
-
-//close session
-session_write_close();
-
-// default header, ajax call may overwrite it later
-header('Content-Type: text/html; charset=utf-8');
-
-//call the requested function
-global $INPUT;
-if($INPUT->has('call')) {
-    $call = $INPUT->filter('utf8_stripspecials')->str('call');
-    new \dokuwiki\Ajax($call);
-} else {
-    http_status(404);
-}