0
我在cakephp 1.3上編碼。我有一個問題將頁面重定向到index.html。路由不重定向到index.html頁面
我的index.html位於webroot文件夾內。 我知道cakephp會直接重定向到index.html。
當我使用URL它顯示錯誤..
Error: Controller could not be found.
Error: Create the class Controller below in file: app/controllers/controller.php
<?php
class Controller extends AppController {
var $name = '';
}
?>
我跟了一些鏈接,但它不似乎工作。 我也檢查過Google。
How can I append .html to all my URLs in cakephp?
感謝@Juhana我會試試這個! – 2012-07-24 13:55:00
+1對你的幫助.. – 2012-07-24 13:55:35