Projekt

Obecné

Profil

Stáhnout (583 Bajtů) Statistiky
| Větev: | Tag: | Revize:
1 5d28dbf4 Marek Lovčí
<?php
2
3
namespace App\Providers;
4
5
use Illuminate\Support\ServiceProvider;
6 8e9897d4 zabran
use Illuminate\Support\Facades\Schema;
7 5d28dbf4 Marek Lovčí
8
class AppServiceProvider extends ServiceProvider
9
{
10
    /**
11
     * Register any application services.
12
     *
13
     * @return void
14
     */
15
    public function register()
16
    {
17 f3056372 Marek Lovčí
        $this->app->bind('path.public', function() {
18
            return base_path('public_html');
19
        });
20 5d28dbf4 Marek Lovčí
    }
21
22
    /**
23
     * Bootstrap any application services.
24
     *
25
     * @return void
26
     */
27
    public function boot()
28
    {
29
        //
30 8e9897d4 zabran
        Schema::defaultStringLength(200);
31 5d28dbf4 Marek Lovčí
    }
32
}