在笨, 我的文件,顯示錯誤的路徑笨
/application (folder)
/controllers (folder)
/welcome.php
/upload (folder)
/a.php
/b.php
/index.php
如果我把http://localhost/you/upload/a
它顯示正確的控制器(一)。 和http://localhost/you/
它的顯示的welcome.php(默認控制器)。
但是,如果我打電話http://localhost/you/upload/
它表示相同welcome.php
(默認控制器)。不顯示index.php
。
我想它顯示index.php
或404 error
或url redirect to default controller
幫助我。
你的目錄結構似乎STANGE給我。我不認爲你應該有一個文件夾上傳,而是隻是一個單一的upload.php的 – Pattle