Add full PHP password check (without any need from specific webserver configuration). Heavily based on a patch from Mark Bond.

This commit is contained in:
Sébastien Lucas 2014-11-11 21:15:55 +01:00
parent 0f280f77ac
commit 3006bac2ce
2 changed files with 23 additions and 0 deletions

View file

@ -265,3 +265,11 @@
* 0 : No
*/
$config ['cops_normalized_search'] = "0";
/*
* Enable PHP password protection (You can use if htpasswd is not possible for you)
* If possible prefer htpasswd !
* array( "username" => "xxx", "password" => "secret") : Enable PHP password protection
* NULL : Disable PHP password protection (You can still use htpasswd)
*/
$config['cops_basic_authentication'] = NULL;