1. -bash-3.2$ cat ../config/core.php
  2. <?php
  3. /* SVN FILE: $Id: core.php 7945 2008-12-19 02:16:01Z gwoo $ */
  4. /**
  5.  * This is core configuration file.
  6.  *
  7.  * Use it to configure core behavior of Cake.
  8.  *
  9.  * PHP versions 4 and 5
  10.  *
  11.  * CakePHP(tm) :  Rapid Development Framework (http://www.cakephp.org)
  12.  * Copyright 2005-2008, Cake Software Foundation, Inc. (http://www.cakefoundation.org)
  13.  *
  14.  * Licensed under The MIT License
  15.  * Redistributions of files must retain the above copyright notice.
  16.  *
  17.  * @filesource
  18.  * @copyright     Copyright 2005-2008, Cake Software Foundation, Inc. (http://www.cakefoundation.org)
  19.  * @link          http://www.cakefoundation.org/projects/info/cakephp CakePHP(tm) Project
  20.  * @package       cake
  21.  * @subpackage    cake.app.config
  22.  * @since         CakePHP(tm) v 0.2.9
  23.  * @version       $Revision: 7945 $
  24.  * @modifiedby    $LastChangedBy: gwoo $
  25.  * @lastmodified  $Date: 2008-12-18 18:16:01 -0800 (Thu, 18 Dec 2008) $
  26.  * @license       http://www.opensource.org/licenses/mit-license.php The MIT License
  27.  */
  28. /**
  29.  * CakePHP Debug Level:
  30.  *
  31.  * Production Mode:
  32.  *  0: No error messages, errors, or warnings shown. Flash messages redirect.
  33.  *
  34.  * Development Mode:
  35.  *  1: Errors and warnings shown, model caches refreshed, flash messages halted.
  36.  *  2: As in 1, but also with full debug messages and SQL output.
  37.  *  3: As in 2, but also with full controller dump.
  38.  *
  39.  * In production mode, flash messages redirect after a time interval.
  40.  * In development mode, you need to click the flash message to continue.
  41.  */
  42.     Configure::write('debug', 0);
  43.  
  44.     Configure::write('App.encoding', 'iso-8559-1');
  45.  
  46.         Configure::write('Config.language', 'pt-br');
  47.  
  48.     Configure::write('App.baseUrl', env('SCRIPT_NAME'));
  49.  
  50.     define('LOG_ERROR', 2);
  51.  
  52.     Configure::write('Session.save', 'php');
  53.  
  54.     Configure::write('Session.cookie', 'CAKEPHP');
  55.     Configure::write('Session.timeout', '1800');
  56.     Configure::write('Session.start', true);
  57.     Configure::write('Session.checkAgent', true);
  58.     Configure::write('Security.level', 'high');
  59.  
  60.     Configure::write('Acl.classname', 'DbAcl');
  61.     Configure::write('Acl.database', 'default');
  62.  
  63.     Cache::config('default', array(
  64.         'engine' => 'File',
  65.         //'path'   => '/tmp'
  66.     ));
  67. ?>