forked from science-ation/science-ation
oops - forgot to remove debugging remarks
This commit is contained in:
parent
dfd468505c
commit
77a3c77e69
4
api.php
4
api.php
@ -27,12 +27,12 @@ require_once("common.inc.functions.php");
|
||||
require_once("account.inc.php");
|
||||
require_once("user.inc.php");
|
||||
require_once("schedule.inc.php");
|
||||
/*if($_SERVER['HTTPS']!="on") {
|
||||
if($_SERVER['HTTPS']!="on") {
|
||||
$ret['status']="error";
|
||||
$ret['error']="SSL is required for API access, please access the API over https";
|
||||
echo json_encode($ret);
|
||||
exit;
|
||||
}*/
|
||||
}
|
||||
$request=explode("/",$_GET['request']);
|
||||
$ret=array();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user