* [ADD] Preliminary API implementation. Need doc

* [ADD] API token authentication
* [FIX] Fixed issue on account searches
This commit is contained in:
nuxsmin
2015-08-10 10:20:42 +02:00
parent e7ae7d6154
commit 29873ef313
22 changed files with 1159 additions and 263 deletions

View File

@@ -398,7 +398,7 @@ class Init
private static function checkInitSourceInclude()
{
$srcScript = pathinfo($_SERVER["SCRIPT_NAME"], PATHINFO_BASENAME);
$skipInit = array('js.php', 'css.php');
$skipInit = array('js.php', 'css.php', 'api.php');
return (in_array($srcScript, $skipInit));
}