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!
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.4@93673 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
parent
9c55927a17
commit
e6d104fa50
@ -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