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

Laravel 5.0 url与目录的关系?

WBOY
Release: 2016-06-06 20:22:53
Original
1174 people have browsed it

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

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

目录结构

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>
Copy after login
Copy after login

目录结构

Laravel 5.0 url与目录的关系?

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

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

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

那我就不回答了。。

Related labels:
php
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template