mirror of
https://github.com/wintercms/winter.git
synced 2024-06-28 05:33:29 +02:00
Fixes instance of WSOD
This commit is contained in:
parent
bbfba7dc34
commit
3f53ae1ccf
@ -31,6 +31,7 @@ class EventLog extends Model
|
||||
{
|
||||
return (
|
||||
class_exists('Model') &&
|
||||
Model::getConnectionResolver() &&
|
||||
DbDongle::hasDatabase() &&
|
||||
!defined('OCTOBER_NO_EVENT_LOGGING')
|
||||
);
|
||||
|
Loading…
x
Reference in New Issue
Block a user