sonarrradarrplexorganizrnginxdashboardmuximuxlandingpagestartpagelandinghtpcserverhomepagesabnzbdheimdallembycouchpotatonzbgetbookmarkapplication-dashboard
		
		
		
		
			You can not select more than 25 topics
			Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
		
		
		
		
		
			
		
			
				
					
					
						
							33 lines
						
					
					
						
							679 B
						
					
					
				
			
		
		
		
			
			
			
				
					
				
				
					
				
			
		
		
	
	
							33 lines
						
					
					
						
							679 B
						
					
					
				
								<?php
							 | 
						|
								
							 | 
						|
								namespace App\Providers;
							 | 
						|
								
							 | 
						|
								use Illuminate\Support\ServiceProvider;
							 | 
						|
								
							 | 
						|
								class AppServiceProvider extends ServiceProvider
							 | 
						|
								{
							 | 
						|
								    /**
							 | 
						|
								     * Bootstrap any application services.
							 | 
						|
								     *
							 | 
						|
								     * @return void
							 | 
						|
								     */
							 | 
						|
								    public function boot()
							 | 
						|
								    {
							 | 
						|
								        if(!file_exists(database_path(env('DB_DATABASE')))) {
							 | 
						|
								            // first time setup
							 | 
						|
								            //die("No Database");
							 | 
						|
								            touch(database_path(env('DB_DATABASE')));
							 | 
						|
								            \Artisan::call('migrate', array('--path' => 'app/migrations', '--force' => true));
							 | 
						|
								        }
							 | 
						|
								    }
							 | 
						|
								
							 | 
						|
								    /**
							 | 
						|
								     * Register any application services.
							 | 
						|
								     *
							 | 
						|
								     * @return void
							 | 
						|
								     */
							 | 
						|
								    public function register()
							 | 
						|
								    {
							 | 
						|
								        //
							 | 
						|
								    }
							 | 
						|
								}
							 | 
						|
								
							 |