Skip to content
This repository
Fetching contributors…

Octocat-spinner-32-eaf2f5

Cannot retrieve contributors at this time

file 22 lines (18 sloc) 0.466 kb
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21
<?php

if (file_exists(APP . 'Config' . DS . 'croogo.php')) {
require APP . 'Config' . DS . 'croogo.php';
} else {
if (!defined('LOG_ERROR')) {
define('LOG_ERROR', LOG_ERR);
}

Configure::write('Error', array(
'handler' => 'ErrorHandler::handleError',
'level' => E_ALL & ~E_DEPRECATED,
'trace' => true
));

Configure::write('Exception', array(
'handler' => 'ErrorHandler::handleException',
'renderer' => 'ExceptionRenderer',
'log' => true
));
}
Something went wrong with that request. Please try again.