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

Цей коміт міститься в:
Sébastien Lucas 2014-11-11 21:15:55 +01:00
джерело 0f280f77ac
коміт 3006bac2ce
2 змінених файлів з 23 додано та 0 видалено

@ -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;