mirror of
https://gitlab.easter-eggs.com/ee/ldapsaisie.git
synced 2024-11-26 19:54:46 +01:00
LSauthMethod: don't warn if config file not found
This commit is contained in:
parent
e87270112e
commit
3c613b7ab4
1 changed files with 6 additions and 3 deletions
|
@ -30,9 +30,12 @@ class LSauthMethod {
|
||||||
var $authData = array();
|
var $authData = array();
|
||||||
|
|
||||||
public function __construct() {
|
public function __construct() {
|
||||||
// Load config
|
// Load config (without warning if not found)
|
||||||
LSsession :: includeFile(LS_CONF_DIR."LSauth/config.".get_class($this).".php");
|
$conf_file = LS_CONF_DIR."LSauth/config.".get_class($this).".php";
|
||||||
LSdebug(LS_CONF_DIR."LSauth/config.".get_class($this).".php");
|
if (LSsession :: includeFile($conf_file, false, false))
|
||||||
|
LSlog :: debug(get_class($this)." :: __construct(): config file ($conf_file) loaded");
|
||||||
|
else
|
||||||
|
LSlog :: debug(get_class($this)." :: __construct(): config file ($conf_file) not found");
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue