core.php File Reference

Go to the source code of this file.


Namespaces

namespace  cake

Enumerations

enum  LOG_ERROR

Enumeration Type Documentation

enum LOG_ERROR

To configure CakePHP *not* to use mod_rewrite and to use CakePHP pretty URLs, remove these .htaccess files:

/.htaccess /app/.htaccess /app/webroot/.htaccess

And uncomment the App.baseUrl below: Uncomment the define below to use CakePHP admin routes.

The value of the define determines the name of the route and its associated controller actions:

'admin' -> admin_index() and /admin/controller/index 'superuser' -> superuser_index() and /superuser/controller/index Turn off all caching application-wide. Enable cache checking.

If set to true, for view caching you must still use the controller var $cacheAction inside your controllers to define caching settings. You can either set it controller-wide by setting var $cacheAction = true, or in each action using $this->cacheAction = true. Defines the default error type when using the log() function. Used for differentiating error logging and debugging. Currently PHP supports LOG_DEBUG.

Definition at line 90 of file core.php.