mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-01-31 09:06:17 +00:00
Removing duplicated section.
This commit is contained in:
parent
360ea2a46a
commit
ffbd6f5dc8
1 changed files with 3 additions and 11 deletions
|
@ -70,21 +70,11 @@
|
||||||
//Configure::write('App.baseUrl', env('SCRIPT_NAME'));
|
//Configure::write('App.baseUrl', env('SCRIPT_NAME'));
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Uncomment the define below to use CakePHP admin routes.
|
* Uncomment the define below to use CakePHP prefix routes.
|
||||||
*
|
*
|
||||||
* The value of the define determines the names of the routes
|
* The value of the define determines the names of the routes
|
||||||
* and their associated controller actions:
|
* and their associated controller actions:
|
||||||
*
|
*
|
||||||
* 'admin' -> admin_index() and /admin/controller/index
|
|
||||||
* 'superuser' -> superuser_index() and /superuser/controller/index
|
|
||||||
*
|
|
||||||
* [Note Routing.admin is deprecated in 1.3. Use Routing.prefixes instead]
|
|
||||||
*/
|
|
||||||
//Configure::write('Routing.prefixes', array('admin'));
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Uncomment the define below to use CakePHP prefix routes.
|
|
||||||
*
|
|
||||||
* Set to an array of prefixes you want to use in your application. Use for
|
* Set to an array of prefixes you want to use in your application. Use for
|
||||||
* admin or other prefixed routes.
|
* admin or other prefixed routes.
|
||||||
*
|
*
|
||||||
|
@ -93,6 +83,8 @@
|
||||||
* Enables:
|
* Enables:
|
||||||
* `admin_index()` and `/admin/controller/index`
|
* `admin_index()` and `/admin/controller/index`
|
||||||
* `manager_index()` and `/manager/controller/index`
|
* `manager_index()` and `/manager/controller/index`
|
||||||
|
*
|
||||||
|
* [Note Routing.admin is deprecated in 1.3. Use Routing.prefixes instead]
|
||||||
*/
|
*/
|
||||||
//Configure::write('Routing.prefixes', array('admin'));
|
//Configure::write('Routing.prefixes', array('admin'));
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue