mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-01-19 02:56:15 +00:00
a778f3c3c3
I've removed the author/licence information from some files -- such as app/app_controller.php and config/database.php -- as they are not our code and those files need to remain as clean as possible for people not to get lost in them. I've run the tests on this one, but the tests are not as extensive as they should be. If you want to get the test controller etc. check out the version in my sandbox. But we'll probably be moving to SimpleTest soon anyway. git-svn-id: https://svn.cakephp.org/repo/trunk/cake@114 3807eeeb-6ff5-0310-8944-8be069107fe0
26 lines
No EOL
469 B
PHP
26 lines
No EOL
469 B
PHP
<?PHP
|
|
|
|
/*
|
|
* Basic configuration
|
|
*/
|
|
// Debugging level
|
|
// 0: production, 1: development, 2: full debug with sql
|
|
define ('DEBUG', 0);
|
|
|
|
// Full-page caching
|
|
define ('CACHE_PAGES', false);
|
|
// Cache lifetime in seconds, 0 for debugging, -1 for eternity,
|
|
define ('CACHE_PAGES_FOR', -1);
|
|
|
|
|
|
/*
|
|
* Advanced configuration
|
|
*/
|
|
// Debug options
|
|
if (DEBUG) {
|
|
error_reporting(E_ALL);
|
|
ini_set('error_reporting', E_ALL);
|
|
$TIME_START = getmicrotime();
|
|
}
|
|
|
|
?>
|