Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

multiple laravel site in one directory

<?php namespace AppProviders;

use IlluminateSupportServiceProvider;

class AppServiceProvider extends ServiceProvider {

    public function register()
    {
        $this->app->bind('path.public', function() {
            return base_path().'/public_html/laravelsite';
        });
    }
}
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #multiple #laravel #site #directory
ADD COMMENT
Topic
Name
3+6 =