mirror of
https://github.com/nuxsmin/sysPass.git
synced 2026-03-05 16:14:11 +01:00
* [ADD] Preliminary API implementation. Need doc
* [ADD] API token authentication * [FIX] Fixed issue on account searches
This commit is contained in:
@@ -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));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user