FEATURE #1530: make urls without /public

This change consist in renaming server.php to index.php, tweaking /.htaccess and replacing all asset('../resources....') with asset('resource/...') path. Everything should work fine now.
This commit is contained in:
Michal Kváček
2016-04-02 16:56:53 +02:00
parent 7bb63aca3f
commit 31c1648597
13 changed files with 49 additions and 32 deletions
+3 -3
View File
@@ -6,9 +6,9 @@
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
@yield('head_meta')
<title>@yield('pageName', @trans('visitor/common.welcome')) | {{$pageName}}</title>
<link rel="stylesheet" href="{{asset('../resources/assets/css/foundation.min.css')}}" />
<link rel="stylesheet" href="{{asset('../resources/assets/css/font-awesome.min.css')}}" />
<link rel="stylesheet" href="{{asset('../resources/assets/css/admin.css')}}" />
<link rel="stylesheet" href="{{asset('/resources/assets/css/foundation.min.css')}}" />
<link rel="stylesheet" href="{{asset('/resources/assets/css/font-awesome.min.css')}}" />
<link rel="stylesheet" href="{{asset('/resources/assets/css/admin.css')}}" />
@yield('head_stylesheets')
<link href="https://fonts.googleapis.com/css?family=Lato:100" rel="stylesheet" type="text/css">