Re #11 - start working on an api

Also some locale negotiator bugfixes & it is now possible to serialize Service and Incident classess to JSON
This commit is contained in:
Vojtěch Sajdl
2018-04-13 21:31:03 +02:00
parent 416070ba5f
commit 9f7e15fcd1
7 changed files with 88 additions and 8 deletions
+11
View File
@@ -0,0 +1,11 @@
<?php
if (!file_exists("../config.php"))
{
header("Location: ../");
}
else{
require_once("../config.php");
require_once("../classes/constellation.php");
}