English 中文(简体)
CakePHP 2.x: Alaxos ACL Plugin-configure the admin path
原标题:CakePHP 2.x: Alaxos ACL Plugin- configure the admin route

i am a cakephp beginner , have not much exposure to cakephp. I have followed installation step for Alaxos ACL plugin foe cakephp 2.0 from -alaxos site .. there second step is configuring admin routing .

(一) 增加

Router::connect( /admin/acl , array( plugin  =>  acl ,  controller  =>  acl ,  action  =>  admin_index ,  admin  => true));

纽约总部 php文档和配置配对/Config/core.php:增加以下线:

 Configure::write( Routing.prefixes , array( admin ));

i am not sure whether this is the correct way of doing it...

http:// localhost/cakeacl/admin/acl”rel=“nofollow”http:// localhost/cakeacl/admin/acl 错误

 **Private Method in AclController

rror:AclController:admin_index()不能直接查阅。 ** 本文件迟交。

请帮助我。 预告......

最佳回答

试图在<代码>app/Config/core.php中仅列出以下内容,并删除路线组合。

Configure:write( Routing.prefixes , range(admin ));

问题回答




相关问题
PHP Framework: Ebay Like Site

I am going to be builiding a site like ebay - with all the features of ebay. Please note my payment method is limited to paypal. What would be the best PHP framework to use to build this quickly, ...

specifying date format when using $form->inputs() in CakePHP

I am wondering if there is a way to specify the date format in the forms created using CakePHP s $form->inputs(); Please note that this is not the individual $form->input() but instead $form->inputs() ...

Using DISTINCT in a CakePHP find function

I am writing a CakePHP 1.2 app. I have a list of people that I want the user to be able to filter on different fields. For each filterable field, I have a drop down list. Choose the filter ...

Assistance with CakePHP model relationships

How would I represent the following in a CakePHP model? Product ======= product_id .... Cart ==== cart_id .... Carts_Products ============== cart_id product_id quantity

Prevent controller from trying to autoload model

I am a beginning Cake user and trying to do some work on an already existing application. Running into a problem when I create a new controller. I have created StoreController and when I try to call ...

热门标签