|
我下载了CI3.1.7 , 然后放在ci317目录里,
然后写了一个test.php在控制器里,
- class Test extends CI_Controller{
- //官方给的写法,构造函数
- public function __construct()
- {
- parent::__construct();
- }
- public function index()
- {
- echo 'fdfdsafdsafdsafds';
- }
- }
复制代码
然后我在浏览器里输入:http://localhost/ci317/test
出现:
Object not found!
The requested URL was not found on this server. If you entered the URL manually please check your spelling and try again.
If you think this is a server error, please contact the webmaster.
我什么都没动啊~ 什么原因????? |
|