Skip to content

Commit 3aa229e

Browse files
committed
small fix
1 parent 9414217 commit 3aa229e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

system/Config/BaseConfig.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ public function __construct()
126126
}
127127
}
128128

129-
if (ENVIRONMENT != 'testing')
129+
if (defined('ENVIRONMENT') && ENVIRONMENT != 'testing')
130130
{
131131
$this->registerProperties();
132132
}

0 commit comments

Comments
 (0)