Skip to main content

Laravel 'public' Klasörünü 'public_html' Olarak Değiştirmek

Published 1 min readMarkdown
Laravel 'public' Klasörünü 'public_html' Olarak Değiştirmek

Laravel’de public klasörünü public_html olarak değiştirmek için App\Providers\AppServiceProvider.php dosyası içerisinde register methoduna aşağıdaki kodu eklemeniz yeterli.

 $this->app->bind('path.public', function() {
     return base_path().'/public_html';
});

No comments yet. Be the first to comment.

More from this blog