commenting happily...

git-svn-id: https://svn.cakephp.org/repo/trunk/cake@136 3807eeeb-6ff5-0310-8944-8be069107fe0
This commit is contained in:
brego 2005-05-17 22:32:06 +00:00
parent b92f61d3a7
commit 4da3ef5b9b
3 changed files with 73 additions and 80 deletions

View file

@ -14,8 +14,8 @@
////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////
/** /**
* Purpose: core.php * This is core configuration file. Use it to configure core behaviour of
* Enter description here... * Cake.
* *
* @filesource * @filesource
* @author Cake Authors/Developers * @author Cake Authors/Developers
@ -30,33 +30,29 @@
* @license http://www.opensource.org/licenses/mit-license.php The MIT License * @license http://www.opensource.org/licenses/mit-license.php The MIT License
*/ */
// Debugging level
// 0: production, 1: development, 2: full debug with sql
/** /**
* Enter description here... * Set debug level here:
* * - 0: production
* - 1: development
* - 2: full debug with sql
*/ */
define ('DEBUG', 0); define ('DEBUG', 0);
// Full-page caching
/** /**
* Enter description here... * Page cacheing setting.
*
*/ */
define ('CACHE_PAGES', false); define ('CACHE_PAGES', false);
// Cache lifetime in seconds, 0 for debugging, -1 for eternity,
/** /**
* Enter description here... * Cache lifetime in seconds, 0 for debugging, -1 for eternity.
*
*/ */
define ('CACHE_PAGES_FOR', -1); define ('CACHE_PAGES_FOR', -1);
/** /**
* Advanced configuration * Set any extra debug options here.
*/ */
// Debug options if (DEBUG)
if (DEBUG) { {
error_reporting(E_ALL); error_reporting(E_ALL);
ini_set('error_reporting', E_ALL); ini_set('error_reporting', E_ALL);
$TIME_START = getmicrotime(); $TIME_START = getmicrotime();

View file

@ -14,8 +14,7 @@
////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////
/** /**
* Purpose: core.php * In this file you set up your database connection details.
* Enter description here...
* *
* @filesource * @filesource
* @author Cake Authors/Developers * @author Cake Authors/Developers
@ -31,9 +30,9 @@
*/ */
/** /**
* Enter description here... * Database configuration array. You can configure multiple connections.
* *
* @var unknown_type $DATABASE_CONFIG * @var array $DATABASE_CONFIG
*/ */
$DATABASE_CONFIG = array( $DATABASE_CONFIG = array(
'devel' => array( 'devel' => array(

View file

@ -14,8 +14,7 @@
////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////
/** /**
* Purpose: Paths * In this file you set paths to different directories used by Cake.
* Enter description here...
* *
* @filesource * @filesource
* @author Cake Authors/Developers * @author Cake Authors/Developers
@ -35,79 +34,78 @@
* or if user can not set the web root to use the public * or if user can not set the web root to use the public
* directory we will define ROOT there otherwise we set it * directory we will define ROOT there otherwise we set it
* here * here
*
*/ */
if( !defined('ROOT') ){ if( !defined('ROOT') ){
define ('ROOT', '../'); define ('ROOT', '../');
} }
/** /**
* Enter description here... * Path to the application directory.
*
*/ */
define ('APP', ROOT.'app/'); define ('APP', ROOT.'app/');
/** /**
* Enter description here... * Path to the application models directory.
*
*/ */
define ('MODELS', APP.'models/'); define ('MODELS', APP.'models/');
/** /**
* Enter description here... * Path to the application controllers directory.
*
*/ */
define ('CONTROLLERS', APP.'controllers/'); define ('CONTROLLERS', APP.'controllers/');
/** /**
* Enter description here... * Path to the application helpers directory.
*
*/ */
define ('HELPERS', APP.'helpers/'); define ('HELPERS', APP.'helpers/');
/** /**
* Enter description here... * Path to the application views directory.
*
*/ */
define ('VIEWS', APP.'views/'); define ('VIEWS', APP.'views/');
/** /**
* Enter description here... * Path to the configuration files directory.
*
*/ */
define ('CONFIGS', ROOT.'config/'); define ('CONFIGS', ROOT.'config/');
/** /**
* Enter description here... * Path to the libs directory.
*
*/ */
define ('LIBS', ROOT.'libs/'); define ('LIBS', ROOT.'libs/');
/** /**
* Enter description here... * Path to the public directory.
*
*/ */
define ('PUBLIC', ROOT.'public/'); define ('PUBLIC', ROOT.'public/');
/** /**
* Enter description here... * Path to the tests directory.
*
*/ */
define ('TESTS', ROOT.'tests/'); define ('TESTS', ROOT.'tests/');
/** /**
* Enter description here... * Path to the vendors directory.
*
*/ */
define ('VENDORS', ROOT.'vendors/'); define ('VENDORS', ROOT.'vendors/');
/** /**
* Enter description here... * Path to the controller test directory.
*
*/ */
define ('CONTROLLER_TESTS',TESTS.'app/controllers/'); define ('CONTROLLER_TESTS',TESTS.'app/controllers/');
/** /**
* Enter description here... * Path to the helpers test directory.
*
*/ */
define ('HELPER_TESTS', TESTS.'app/helpers/'); define ('HELPER_TESTS', TESTS.'app/helpers/');
/** /**
* Enter description here... * Path to the models test directory.
*
*/ */
define ('MODEL_TESTS', TESTS.'app/models/'); define ('MODEL_TESTS', TESTS.'app/models/');
/** /**
* Enter description here... * Path to the lib test directory.
*
*/ */
define ('LIB_TESTS', TESTS.'libs/') define ('LIB_TESTS', TESTS.'libs/')