Commit b73862f5 authored by Johan Cwiklinski's avatar Johan Cwiklinski Committed by Johan Cwiklinski
Browse files

Drop ajax_include

parent 89bb1ad2
......@@ -31,8 +31,6 @@
* @brief
*/
$AJAX_INCLUDE = 1;
include ('../inc/includes.php');
header("Content-Type: application/json; charset=UTF-8");
Html::header_nocache();
......
......@@ -35,8 +35,6 @@
* @brief
*/
$AJAX_INCLUDE=1;
include ('../inc/includes.php');
header("Content-Type: text/html; charset=UTF-8");
Html::header_nocache();
......
......@@ -31,8 +31,6 @@
* @brief
*/
$AJAX_INCLUDE = 1;
include ('../inc/includes.php');
header("Content-Type: application/json; charset=UTF-8");
Html::header_nocache();
......
......@@ -37,8 +37,6 @@
* @since version 9.2
*/
$AJAX_INCLUDE = 1;
include ('../inc/includes.php');
header('Content-type: application/json');
......@@ -50,4 +48,4 @@ if (isset($_POST['knowbaseitems_id'])) {
$kbitem = new KnowbaseItem;
$kbitem->getFromDB(intval($_POST['knowbaseitems_id']));
$kbitem->showFull();
}
\ No newline at end of file
}
......@@ -37,7 +37,6 @@
* @author Alexandre Delaunay
*/
$AJAX_INCLUDE = 1;
include ('../inc/includes.php');
// Send UTF8 Headers
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment