开发者

Why the CodeIgniter 2 does not support the Modular Extensions?

After I was upggrading the CI 1.7 with Codeigniter 开发者_JAVA技巧2 returns an Error and it shows as a routing error, its because of CodeIgniter 2 Routing library has little optimized. how to resolve this problem?

alt text http://codeigniter.com/?ACT=51&fid=71&aid=11318_MsqswOnwiV00NskrfWQQ&board_id=2


The scaffolding functionality of Codigniter has been depreciated since 1.6.

You need to go into application/config/routes.php and comment out:

//$route['scaffolding_trigger'] = "";

Also it looks as though you need to also set your default controller:

$route['default_controller'] = "yourcontroller";


ultimately I figureout the way of making work for modules, an online jurnal was posted by phil sturgeon. and to enable it, he has written a class whitch is hosted at GitHub


HMVC works fine with CodeIgniter 2.0, but you have to upgrade to a newer version.

A 1.7.2 version of code cannot be expected to work magically with 2.0 if it was made before 2.0 was developed. :)

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜