[svn r13118] Added clear error_logging in case an authentication file cannot be found

skala
Yannick Warnier 18 years ago
parent e30cef1446
commit a0130507e1
  1. 5
      main/inc/local.inc.php

@ -294,6 +294,7 @@ else
else // no standard Dokeos login - try external authentification
{
//huh... nothing to do... we shouldn't get here
error_log('Dokeos Authentication file '. $extAuthSource[$uData['auth_source']]['login']. ' could not be found - this might prevent your system from doing the corresponding authentication process',0);
}
if(!empty($_SESSION['request_uri']))
@ -337,6 +338,10 @@ else
{
include_once($thisAuthSource['newUser']);
}
else
{
error_log('Dokeos Authentication file '. $thisAuthSource['newUser']. ' could not be found - this might prevent your system from using the authentication process in the user creation process',0);
}
}
} //end if is_array($extAuthSource)

Loading…
Cancel
Save