请帮忙为什么:无法加载模块:Regaaa

浏览:474 发布日期:2014/08/04 分类:求助交流
<?php
class IndexAction extends Action {
function index() {
}

public function regaaa(){
echo 'aaaa';
}
}
?>
这是IndexAction.class.php的代码,但我用浏览器执行http://localhost/site1/index.php/Index/regaaa总提示
无法加载模块:Regaaa
错误位置
FILE: C:\wamp\www\site1\ThinkPHP\Common\functions.php  LINE: 112

但将 regaaa()方法放到其他类文件中则可以正常执行,请问哪里不对吗??
最佳答案
评论( 相关
后面还有条评论,点击查看>>