core.php File Reference
Go to the source code of this file.
Enumeration Type Documentation
To use Access Control Lists with Cake...
Definition at line 144 of file core.php.
If set to true, helpers would output data instead of returning it.
Definition at line 132 of file core.php.
If set to false, session would not automatically be started.
Definition at line 136 of file core.php.
Turn of caching checking wide. You must still use the controller var cacheAction inside you controller class. You can either set it controller wide, or in each controller method. use var $cacheAction = true; or in the controller method $this->cacheAction = true;
Definition at line 59 of file core.php.
Set level of Cake security.
Definition at line 99 of file core.php.
Set the name of session cookie
Definition at line 94 of file core.php.
CakePHP includes 3 types of session saves database or file. Set this to your preferred method. If you want to use your own save handler 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
Definition at line 77 of file core.php.
Set a random string of used in session.
Definition at line 89 of file core.php.
If using you own table name for storing sessions set the table name here. DO NOT INCLUDE PREFIX IF YOU HAVE SET ONE IN database.php
Definition at line 84 of file core.php.
Set Cake Session time out. If CAKE_SECURITY define is set high: multiplied by 10 medium: is multiplied by 100 low is: multiplied by 300
Number below is seconds.
Definition at line 109 of file core.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().
Definition at line 128 of file core.php.
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 Set debug level here:
- 0: production
- 1: development
- 2: full debug with sql
- 3: full debug with sql and dump of the current object
In production, the "flash messages" redirect after a time interval. With the other debug levels you get to click the "flash message" to continue.
Definition at line 52 of file core.php.
Error constant. Used for differentiating error logging and debugging. Currently PHP supports LOG_DEBUG
Definition at line 64 of file core.php.
Set the max size of file to use md5() .
Definition at line 140 of file core.php.
Uncomment the define below to use cake built in admin routes. You can set this value to anything you want. All methods related to the admin route should be prefixed with the name you set CAKE_ADMIN to. For example: admin_index, admin_edit The define below is used to turn cake built webservices on or off. Default setting is off.
Definition at line 122 of file core.php.