folder support

This commit is contained in:
KodeStar
2018-02-17 00:13:38 +00:00
parent 4e37176436
commit 98b831bc22
32 changed files with 5533 additions and 37 deletions

View File

@@ -33,7 +33,7 @@ class AppServiceProvider extends ServiceProvider
if(is_file(database_path('app.sqlite'))) {
if(Schema::hasTable('settings')) {
if($bg_image = Setting::fetch('background_image')) {
$alt_bg = ' style="background-image: url('.asset('storage/'.$bg_image).')"';
$alt_bg = ' style="background-image: url(/storage/'.$bg_image.')"';
}
// check version to see if an upgrade is needed