mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
BUGFIX #4762 Replace Debug::log_errors_to() in ConfigureFromEnv to use SS_Log instead. Thanks simon_w! (from r93673)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@93767 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
parent
0472c3082f
commit
46bbdb1e38
@ -98,5 +98,5 @@ if(defined('SS_USE_BASIC_AUTH') && SS_USE_BASIC_AUTH) {
|
||||
}
|
||||
|
||||
if(defined('SS_ERROR_LOG')) {
|
||||
Debug::log_errors_to(SS_ERROR_LOG);
|
||||
SS_Log::add_writer(new SS_LogFileWriter('../' . SS_ERROR_LOG), SS_Log::WARN, '<=');
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user