Heim  >  Artikel  >  Backend-Entwicklung  >  Laravel 5.0 url与目录的关系?

Laravel 5.0 url与目录的关系?

WBOY
WBOYOriginal
2016-06-06 20:22:531121Durchsuche

访问的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

那我就不回答了。。

Stellungnahme:
Der Inhalt dieses Artikels wird freiwillig von Internetnutzern beigesteuert und das Urheberrecht liegt beim ursprünglichen Autor. Diese Website übernimmt keine entsprechende rechtliche Verantwortung. Wenn Sie Inhalte finden, bei denen der Verdacht eines Plagiats oder einer Rechtsverletzung besteht, wenden Sie sich bitte an admin@php.cn