Skip to content

Commit

Permalink
Merge pull request #47 from ceeram-infinitas/dev
Browse files Browse the repository at this point in the history
Enable the Dispatcher filters for plugin assets, and CacheHelper for Cak...
  • Loading branch information
dogmatic69 committed Jun 8, 2012
2 parents 1a19dbf + 08e91dd commit 38c269e
Showing 1 changed file with 10 additions and 4 deletions.
14 changes: 10 additions & 4 deletions Config/core.php
100755 → 100644
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
else{
Configure::write('debug', 0);
}

Configure::write('log', true);

/**
Expand All @@ -32,11 +32,11 @@
if(Configure::read('debug') == 0){
Configure::write('Cache.check', true);
}

App::uses('AppError', 'Lib');
App::uses('InfinitasException', 'Lib/Error');
Configure::write(
'Error',
'Error',
array(
'handler' => 'AppError::handleError',
'level' => E_ALL,
Expand All @@ -46,10 +46,16 @@
);

Configure::write(
'Exception',
'Exception',
array(
'handler' => 'AppError::handleException',
'renderer' => 'InfinitasExceptionRenderer',
'log' => true,
)
);

Configure::write('Dispatcher.filters', array(
'AssetDispatcher',
'CacheDispatcher'
));

0 comments on commit 38c269e

Please sign in to comment.