Actualizing config files in skel folder

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3574 3807eeeb-6ff5-0310-8944-8be069107fe0
This commit is contained in:
dho 2006-09-24 15:24:52 +00:00
parent 963eef2c65
commit 09ff467443
3 changed files with 8 additions and 8 deletions

View file

@ -49,7 +49,7 @@
* With the other debug levels you get to click the "flash message" to continue.
*
*/
define('DEBUG', 1);
define('DEBUG', 2);
/**
* Turn of caching checking wide.
* You must still use the controller var cacheAction inside you controller class.

View file

@ -29,7 +29,7 @@
/**
* In this file you set up your database connection details.
*
* @package cake
* @package cake
* @subpackage cake.config
*/
/**
@ -42,15 +42,15 @@
* connect =>
* MySQL set the connect to either mysql_pconnect of mysql_connect
* PostgreSQL set the connect to either pg_pconnect of pg_connect
* SQLite set the connect to sqlite_popen sqlite_open
* SQLite set the connect to sqlite_popen or sqlite_open
* MSSQL set the connect to mssql_connect or mssql_pconnect
* ADOdb set the connect to one of these
* (http://phplens.com/adodb/supported.databases.html) and
* append it '|p' for persistent connection. (mssql|p for example, or just mssql for not persistent)
*
* host =>
* the host you connect to the database
* MySQL 'localhost' to add a port number use 'localhost:port#'
* PostgreSQL 'localhost' to add a port number use 'localhost port=5432'
* To add a port number use 'port' => #
*
*/
class DATABASE_CONFIG

View file

@ -33,14 +33,14 @@
* its action called 'display', and we pass a param to select the view file
* to use (in this case, /app/views/pages/home.thtml)...
*/
$Route->connect('/', array('controller' => 'pages', 'action' => 'display', 'home'));
Router::connect('/', array('controller' => 'pages', 'action' => 'display', 'home'));
/**
* ...and connect the rest of 'Pages' controller's urls.
*/
$Route->connect('/pages/*', array('controller' => 'pages', 'action' => 'display'));
Router::connect('/pages/*', array('controller' => 'pages', 'action' => 'display'));
/**
* Then we connect url '/test' to our test controller. This is helpfull in
* developement.
*/
$Route->connect('/tests', array('controller' => 'tests', 'action' => 'index'));
Router::connect('/tests', array('controller' => 'tests', 'action' => 'index'));
?>