mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-03-18 07:29:51 +00:00

Author: phpnut Date: 6:19:00 PM, Thursday, October 27, 2005 Message: removing session directory [1241] Author: phpnut Date: 6:13:46 PM, Thursday, October 27, 2005 Message: added docblocks and temp error messages when trying to use the unimplemeted database for sessions [1239] Author: phpnut Date: 5:28:57 PM, Thursday, October 27, 2005 Message: More work on session. Added config settings to core.php updated model to allow models without a database table. [1237] Author: phpnut Date: 3:50:27 PM, Thursday, October 27, 2005 Message: adding directories for sessions [1235] Author: phpnut Date: 3:36:08 AM, Thursday, October 27, 2005 Message: Typo [1234] Author: phpnut Date: 3:34:07 AM, Thursday, October 27, 2005 Message: More work on the Session classes and adding the first methods the to Security class [1233] Author: phpnut Date: 3:05:46 AM, Thursday, October 27, 2005 Message: Start to core security class added. Moved paths.php to cake/config/ Refactoring Session classes [1232] Author: phpnut Date: 2:20:25 AM, Thursday, October 27, 2005 Message: More work on the core session class. Adding session component class. Added fix for errors messages not working with validation. Added possible fix for inflector now working on the word status. git-svn-id: https://svn.cakephp.org/repo/trunk/cake@1243 3807eeeb-6ff5-0310-8944-8be069107fe0
114 lines
No EOL
3 KiB
PHP
114 lines
No EOL
3 KiB
PHP
<?php
|
|
/* SVN FILE: $Id$ */
|
|
|
|
/**
|
|
* This is core configuration file.
|
|
*
|
|
* Use it to configure core behaviour ofCake.
|
|
*
|
|
* PHP versions 4 and 5
|
|
*
|
|
* CakePHP : Rapid Development Framework <http://www.cakephp.org/>
|
|
* Copyright (c) 2005, CakePHP Authors/Developers
|
|
*
|
|
* Author(s): Michal Tatarynowicz aka Pies <tatarynowicz@gmail.com>
|
|
* Larry E. Masters aka PhpNut <nut@phpnut.com>
|
|
* Kamil Dzielinski aka Brego <brego.dk@gmail.com>
|
|
*
|
|
* Licensed under The MIT License
|
|
* Redistributions of files must retain the above copyright notice.
|
|
*
|
|
* @filesource
|
|
* @author CakePHP Authors/Developers
|
|
* @copyright Copyright (c) 2005, CakePHP Authors/Developers
|
|
* @link https://trac.cakephp.org/wiki/Authors Authors/Developers
|
|
* @package cake
|
|
* @subpackage cake.cake.app.config
|
|
* @since CakePHP v 0.2.9
|
|
* @version $Revision$
|
|
* @modifiedby $LastChangedBy$
|
|
* @lastmodified $Date$
|
|
* @license http://www.opensource.org/licenses/mit-license.php The MIT License
|
|
*/
|
|
|
|
/**
|
|
* If you do not have mod rewrite on your system
|
|
* or if you prefer to use CakePHP pretty urls.
|
|
* uncomment the line below.
|
|
* Note: If you do have mod rewrite but prefer the
|
|
* CakePHP pretty urls, you also have to remove the
|
|
* .htaccess files
|
|
* release/.htaccess
|
|
* release/app/.htaccess
|
|
* release/app/webroot/.htaccess
|
|
*/
|
|
//define ('BASE_URL', $_SERVER['SCRIPT_NAME']);
|
|
|
|
|
|
/**
|
|
* Set debug level here:
|
|
* - 0: production
|
|
* - 1: development
|
|
* - 2: full debug with sql
|
|
*
|
|
* In production, the "flash messages" redirect after a time interval.
|
|
* With the other debug levels you get to click the "flash message" to continue.
|
|
*
|
|
*/
|
|
define('DEBUG', 1);
|
|
/**
|
|
* Set the name of session cookie
|
|
*
|
|
*/
|
|
define('CAKE_SESSION_COOKIE', 'CAKEPHP');
|
|
|
|
/**
|
|
* Set level of Cake security.
|
|
*
|
|
*/
|
|
define('CAKE_SECURITY', 'high');
|
|
|
|
/**
|
|
* CakePHP includes 3 types of session saves
|
|
* database or file. Set this to your preffered method.
|
|
* If you want to use your own save handeler place it in
|
|
* app/config/name.php DO NOT USE file or database as the name.
|
|
* and use just the name portion below.
|
|
*
|
|
* Setting this to cake will save files to /cakedistro/tmp directory
|
|
* Setting it to php will use the php default save path
|
|
* Setting it to database will use the database
|
|
*
|
|
*
|
|
*/
|
|
define('CAKE_SESSION_SAVE', 'php');
|
|
|
|
/**
|
|
* Compress output CSS (removing comments, whitespace, repeating tags etc.)
|
|
* This requires a /var/cache directory to be writable by the web server (caching).
|
|
* To use, prefix the CSS link URL with '/ccss/' instead of '/css/' or use Controller::cssTag().
|
|
*/
|
|
define('COMPRESS_CSS', false);
|
|
|
|
/**
|
|
* If set to true, helpers would output data instead of returning it.
|
|
*/
|
|
define('AUTO_OUTPUT', false);
|
|
|
|
/**
|
|
* If set to false, session would not automatically be started.
|
|
*/
|
|
define('AUTO_SESSION', true);
|
|
|
|
/**
|
|
* Set the max size of file to use md5() .
|
|
*/
|
|
define('MAX_MD5SIZE', (5*1024)*1024 );
|
|
|
|
/**
|
|
* To use Access Control Lists with Cake...
|
|
*/
|
|
define('ACL_CLASSNAME', 'MyACL');
|
|
define('ACL_FILENAME', 'my_acl.php');
|
|
|
|
?>
|