Add custom HTTP header for API authentication

This commit is contained in:
Frederic Guillot
2015-05-25 14:07:06 -04:00
parent 00c2e5c80e
commit 03f89e2899
5 changed files with 37 additions and 5 deletions

View File

@@ -191,4 +191,7 @@ Various settings
```php
// Escape html inside markdown text
define('MARKDOWN_ESCAPE_HTML', true);
// API alternative authentication header, the default is HTTP Basic Authentication defined in RFC2617
define('API_AUTHENTICATION_HEADER', '');
```