Skip to content

Instantly share code, notes, and snippets.

@gopalindians
Created September 7, 2019 01:06
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save gopalindians/6dc9a51dfdc9ea83ab3b578eb6fdfcde to your computer and use it in GitHub Desktop.
Save gopalindians/6dc9a51dfdc9ea83ab3b578eb6fdfcde to your computer and use it in GitHub Desktop.
Updated app/Providers/AppServiceProvider.php
<?php
namespace App\Providers;
use Illuminate\Support\ServiceProvider;
class AppServiceProvider extends ServiceProvider
{
/**
* Register any application services.
*
* @return void
*/
public function register()
{
//
}
/**
* Bootstrap any application services.
*
* @return void
*/
public function boot()
{
$this->app->bind('path.public', function() {
return base_path().'/../public_html';
});
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment