Advertisement
Guest User

Untitled

a guest
Sep 18th, 2019
126
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.49 KB | None | 0 0
  1. <?php
  2.  
  3. namespace App\Providers;
  4.  
  5. use Illuminate\Support\ServiceProvider;
  6.  
  7. class AppServiceProvider extends ServiceProvider
  8. {
  9. /**
  10. * Register any application services.
  11. *
  12. * @return void
  13. */
  14. public function register()
  15. {
  16. //
  17. }
  18.  
  19. /**
  20. * Bootstrap any application services.
  21. *
  22. * @return void
  23. */
  24. public function boot()
  25. {
  26. $this->app->bind('path.public', function() {
  27. return base_path().'/../public_html';
  28. });
  29. }
  30. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement