mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-01-31 09:06:17 +00:00
Changed more crappy formatting.
git-svn-id: https://svn.cakephp.org/repo/trunk/cake@1008 3807eeeb-6ff5-0310-8944-8be069107fe0
This commit is contained in:
parent
f1292b5b76
commit
e684156bf7
3 changed files with 8 additions and 8 deletions
|
@ -1,4 +1,4 @@
|
||||||
<? die(); ?>
|
;<? die(); ?>
|
||||||
|
|
||||||
; acl.ini.php - Cake ACL Configuration
|
; acl.ini.php - Cake ACL Configuration
|
||||||
; ---------------------------------------------------------------------
|
; ---------------------------------------------------------------------
|
||||||
|
|
|
@ -38,17 +38,17 @@
|
||||||
* its action called 'display', and we pass a param to select the view file
|
* its action called 'display', and we pass a param to select the view file
|
||||||
* to use (in this case, /app/views/pages/home.thtml)...
|
* to use (in this case, /app/views/pages/home.thtml)...
|
||||||
*/
|
*/
|
||||||
$Route->connect ('/', array('controller'=>'Pages', 'action'=>'display', 'home'));
|
$Route->connect('/', array('controller'=>'Pages', 'action'=>'display', 'home'));
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* ...and connect the rest of 'Pages' controller's urls.
|
* ...and connect the rest of 'Pages' controller's urls.
|
||||||
*/
|
*/
|
||||||
$Route->connect ('/pages/*', array('controller'=>'Pages', 'action'=>'display'));
|
$Route->connect('/pages/*', array('controller'=>'Pages', 'action'=>'display'));
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Then we connect url '/test' to our test controller. This is helpfull in
|
* Then we connect url '/test' to our test controller. This is helpfull in
|
||||||
* developement.
|
* developement.
|
||||||
*/
|
*/
|
||||||
$Route->connect ('/test', array('controller'=>'Tests', 'action'=>'index'));
|
$Route->connect('/test', array('controller'=>'Tests', 'action'=>'index'));
|
||||||
|
|
||||||
?>
|
?>
|
|
@ -22,17 +22,17 @@
|
||||||
* and its action called 'display'. We pass a parameter to select the view file
|
* and its action called 'display'. We pass a parameter to select the view file
|
||||||
* to use (in this case, /app/views/pages/home.thtml).
|
* to use (in this case, /app/views/pages/home.thtml).
|
||||||
*/
|
*/
|
||||||
$Route->connect ('/', array('controller'=>'Pages', 'action'=>'display', 'home'));
|
$Route->connect('/', array('controller'=>'Pages', 'action'=>'display', 'home'));
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* ...and connect the rest of 'Pages' controller's URLs.
|
* ...and connect the rest of 'Pages' controller's URLs.
|
||||||
*/
|
*/
|
||||||
$Route->connect ('/pages/*', array('controller'=>'Pages', 'action'=>'display'));
|
$Route->connect('/pages/*', array('controller'=>'Pages', 'action'=>'display'));
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Then we connect url '/test' to our test controller. This is helpful in
|
* Then we connect url '/test' to our test controller. This is helpful in
|
||||||
* development.
|
* development.
|
||||||
*/
|
*/
|
||||||
$Route->connect ('/test', array('controller'=>'Tests', 'action'=>'test_all'));
|
$Route->connect('/test', array('controller'=>'Tests', 'action'=>'test_all'));
|
||||||
|
|
||||||
?>
|
?>
|
Loading…
Add table
Reference in a new issue