Subversion Repositories SmartDukaan

Rev

Rev 17314 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 17314 Rev 19319
Line 5... Line 5...
5
 * Configure the Error handler used to handle errors for your application. By default
5
 * Configure the Error handler used to handle errors for your application. By default
6
 * ErrorHandler::handleError() is used. It will display errors using Debugger, when debug > 0
6
 * ErrorHandler::handleError() is used. It will display errors using Debugger, when debug > 0
7
 * and log errors with CakeLog when debug = 0.
7
 * and log errors with CakeLog when debug = 0.
8
 *
8
 *
9
 * Options:
9
 * Options:
10
 *
10
 *	
11
 * - `handler` - callback - The callback to handle errors. You can set this to any callable type,
11
 * - `handler` - callback - The callback to handle errors. You can set this to any callable type,
12
 *   including anonymous functions.
12
 *   including anonymous functions.
13
 *   Make sure you add App::uses('MyHandler', 'Error'); when using a custom handler class
13
 *   Make sure you add App::uses('MyHandler', 'Error'); when using a custom handler class
14
 * - `level` - integer - The level of errors you are interested in capturing.
14
 * - `level` - integer - The level of errors you are interested in capturing.
15
 * - `trace` - boolean - Include stack traces for errors in log files.
15
 * - `trace` - boolean - Include stack traces for errors in log files.
Line 378... Line 378...
378
    'engine' => $engine,
378
    'engine' => $engine,
379
    'duration' => '+5 min',
379
    'duration' => '+5 min',
380
    'probability' => 100,
380
    'probability' => 100,
381
    'path' => CACHE . 'fivemin' . DS,
381
    'path' => CACHE . 'fivemin' . DS,
382
));
382
));
-
 
383
 
-
 
384
Cache::config('target', array(
-
 
385
    'engine' => $engine,
-
 
386
    'duration' => '+6 hour',
-
 
387
    'probability' => 100,
-
 
388
    'path' => CACHE . 'target' . DS,
-
 
389
));
383
390