Commit 3b1992fc authored by Nico Schallehn's avatar Nico Schallehn

kleinere Anpassungen

Einstellungen sind in die api.class.php gewandert
parent 9dd6a1d8
<?php <?php
/** /**
* @author Nico Schallehn, Markus Then * @author Nico Schallehn, Markus Then
* @license MIT
* @version siehe define API_VERSION
*/ */
/**
* Konfig:
*/
define(API_KEY_LEN, 10);
define(API_VERSION, 0.002);
define(API_KEY_DB, "/var/www/mediadb.ivaya.de/MediaDBViewerAPI/Key.sqlite");
/**
*
* @author Nico Schallehn, Markus Then
*
*/
class MediaDBViewerAPI{ class MediaDBViewerAPI{
private $API_KEY; private $API_KEY;
private $API_Rechte; private $API_Rechte;
......
...@@ -8,12 +8,6 @@ $beginn = microtime(true); ...@@ -8,12 +8,6 @@ $beginn = microtime(true);
header('content-type: application/json; charset=utf-8'); header('content-type: application/json; charset=utf-8');
include 'api.class.php'; include 'api.class.php';
/**
* Konfig:
*/
define(API_KEY_LEN, 10);
define(API_VERSION, 0.001);
define(API_KEY_DB, "/var/www/mediadb.ivaya.de/MediaDBViewerAPI/Key.sqlite");
$API = new MediaDBViewerAPI(); $API = new MediaDBViewerAPI();
......
Markdown is supported
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