Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -bash-3.2$ cat ../config/core.php
- <?php
- /* SVN FILE: $Id: core.php 7945 2008-12-19 02:16:01Z gwoo $ */
- /**
- * This is core configuration file.
- *
- * Use it to configure core behavior of Cake.
- *
- * PHP versions 4 and 5
- *
- * CakePHP(tm) : Rapid Development Framework (http://www.cakephp.org)
- * Copyright 2005-2008, Cake Software Foundation, Inc. (http://www.cakefoundation.org)
- *
- * Licensed under The MIT License
- * Redistributions of files must retain the above copyright notice.
- *
- * @filesource
- * @copyright Copyright 2005-2008, Cake Software Foundation, Inc. (http://www.cakefoundation.org)
- * @link http://www.cakefoundation.org/projects/info/cakephp CakePHP(tm) Project
- * @package cake
- * @subpackage cake.app.config
- * @since CakePHP(tm) v 0.2.9
- * @version $Revision: 7945 $
- * @modifiedby $LastChangedBy: gwoo $
- * @lastmodified $Date: 2008-12-18 18:16:01 -0800 (Thu, 18 Dec 2008) $
- * @license http://www.opensource.org/licenses/mit-license.php The MIT License
- */
- /**
- * CakePHP Debug Level:
- *
- * Production Mode:
- * 0: No error messages, errors, or warnings shown. Flash messages redirect.
- *
- * Development Mode:
- * 1: Errors and warnings shown, model caches refreshed, flash messages halted.
- * 2: As in 1, but also with full debug messages and SQL output.
- * 3: As in 2, but also with full controller dump.
- *
- * In production mode, flash messages redirect after a time interval.
- * In development mode, you need to click the flash message to continue.
- */
- Configure::write('debug', 0);
- Configure::write('App.encoding', 'iso-8559-1');
- Configure::write('Config.language', 'pt-br');
- Configure::write('App.baseUrl', env('SCRIPT_NAME'));
- define('LOG_ERROR', 2);
- Configure::write('Session.save', 'php');
- Configure::write('Session.cookie', 'CAKEPHP');
- Configure::write('Session.timeout', '1800');
- Configure::write('Session.start', true);
- Configure::write('Session.checkAgent', true);
- Configure::write('Security.level', 'high');
- Configure::write('Acl.classname', 'DbAcl');
- Configure::write('Acl.database', 'default');
- Cache::config('default', array(
- 'engine' => 'File',
- //'path' => '/tmp'
- ));
- ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement