mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2024-11-16 11:58:25 +00:00
3303a2cda1
Conflicts: lib/Cake/Console/Templates/skel/Config/Schema/db_acl.php lib/Cake/Console/Templates/skel/Config/Schema/i18n.php lib/Cake/Console/Templates/skel/Config/Schema/sessions.php lib/Cake/Console/Templates/skel/Config/acl.ini.php lib/Cake/Console/Templates/skel/Config/acl.php lib/Cake/Console/Templates/skel/Config/bootstrap.php lib/Cake/Console/Templates/skel/Config/core.php lib/Cake/Console/Templates/skel/Config/database.php.default lib/Cake/Console/Templates/skel/Config/email.php.default lib/Cake/Console/Templates/skel/Config/routes.php lib/Cake/Console/Templates/skel/Console/Command/AppShell.php lib/Cake/Console/Templates/skel/Console/cake.bat lib/Cake/Console/Templates/skel/Console/cake.php lib/Cake/Console/Templates/skel/Controller/AppController.php lib/Cake/Console/Templates/skel/Controller/PagesController.php lib/Cake/Console/Templates/skel/Model/AppModel.php lib/Cake/Console/Templates/skel/View/Errors/error400.ctp lib/Cake/Console/Templates/skel/View/Errors/error500.ctp lib/Cake/Console/Templates/skel/View/Helper/AppHelper.php lib/Cake/Console/Templates/skel/View/Layouts/Emails/html/default.ctp lib/Cake/Console/Templates/skel/View/Layouts/ajax.ctp lib/Cake/Console/Templates/skel/View/Layouts/default.ctp lib/Cake/Console/Templates/skel/View/Layouts/error.ctp lib/Cake/Console/Templates/skel/View/Layouts/flash.ctp lib/Cake/Console/Templates/skel/View/Pages/home.ctp lib/Cake/Console/Templates/skel/index.php lib/Cake/Console/Templates/skel/webroot/index.php lib/Cake/Console/Templates/skel/webroot/test.php
37 lines
1.1 KiB
PHP
37 lines
1.1 KiB
PHP
<?php
|
|
/**
|
|
* Routes configuration
|
|
*
|
|
* In this file, you set up routes to your controllers and their actions.
|
|
* Routes are very important mechanism that allows you to freely connect
|
|
* different URLs to chosen controllers and their actions (functions).
|
|
*
|
|
* PHP 5
|
|
*
|
|
* @link http://cakephp.org CakePHP(tm) Project
|
|
* @package app.Config
|
|
* @since CakePHP(tm) v 0.2.9
|
|
*/
|
|
|
|
/**
|
|
* Here, we are connecting '/' (base path) to controller called 'Pages',
|
|
* its action called 'display', and we pass a param to select the view file
|
|
* to use (in this case, /app/View/Pages/home.ctp)...
|
|
*/
|
|
Router::connect('/', array('controller' => 'pages', 'action' => 'display', 'home'));
|
|
/**
|
|
* ...and connect the rest of 'Pages' controller's URLs.
|
|
*/
|
|
Router::connect('/pages/*', array('controller' => 'pages', 'action' => 'display'));
|
|
|
|
/**
|
|
* Load all plugin routes. See the CakePlugin documentation on
|
|
* how to customize the loading of plugin routes.
|
|
*/
|
|
CakePlugin::routes();
|
|
|
|
/**
|
|
* Load the CakePHP default routes. Only remove this if you do not want to use
|
|
* the built-in default routes.
|
|
*/
|
|
require CAKE . 'Config' . DS . 'routes.php';
|