Initial commit

This commit is contained in:
Senad Uka
2018-06-11 11:09:35 +02:00
commit ed7df7b11f
1954 changed files with 483354 additions and 0 deletions

View File

@@ -0,0 +1,17 @@
<?php
header("Access-Control-Allow-Origin: *");
header("Access-Control-Allow-Headers: Authorization");
header('Content-Type: application/json');
if(!defined('APPLICATION_VERSION')){
die("Permission denied!");
}
if($_SERVER['REQUEST_METHOD'] === 'OPTIONS'){
header('Access-Control-Max-Age: ' . JWT_MAX_LIFE);
header('Access-Control-Allow-Methods: OPTIONS, GET, POST');
die();
}
$route::call($module, $controller, $action);
?>