Zauberfisch / silverstripe-boilerplate

Boilerplate template to quickly kick off a new SilverStripe project
21 stars 3 forks source link

log path from _ss_environment.php already exists #16

Closed Zauberfisch closed 10 years ago

Zauberfisch commented 11 years ago

SilverStripe already provides the ability to set the log path, this boilerplate should not implement its own log path constant for it, we have to revert c2786820d74c8a75c74cd669a6c1f0ba6c470348

taken from the silverstripe documenttaion:

// This causes errors to be written to the silverstripe.log file in the same directory as this file, so /var.
// Before PHP 5.3.0, you'll need to use dirname(__FILE__) instead of __DIR__
define('SS_ERROR_LOG', __DIR__ . '/silverstripe.log');