Home >Backend Development >PHP Tutorial >Laravel 5.0 url与目录的关系?

Laravel 5.0 url与目录的关系?

WBOY
WBOYOriginal
2016-06-06 20:22:531167browse

访问的url:http://test.runcam.com/download
路由:

<code class="php">Route::get('download', function(){
    return view('download');
});</code>

目录结构

Laravel 5.0 url与目录的关系?

出错:
Laravel 5.0 url与目录的关系?

出现同名的目录,就出现错误了?为什么?

已经百度到答案:https://sosonemo.me/laravel-route-pitfall.html

这个问题已被关闭,原因:

回复内容:

访问的url:http://test.runcam.com/download
路由:

<code class="php">Route::get('download', function(){
    return view('download');
});</code>

目录结构

Laravel 5.0 url与目录的关系?

出错:
Laravel 5.0 url与目录的关系?

出现同名的目录,就出现错误了?为什么?

已经百度到答案:https://sosonemo.me/laravel-route-pitfall.html

那我就不回答了。。

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn