Recent changes

This commit is contained in:
2020-11-02 21:44:05 +00:00
parent 06d1e0ad3f
commit 96aa01b9c6
508 changed files with 333 additions and 79 deletions

7
app/Providers/AppServiceProvider.php Normal file → Executable file
View File

@@ -61,6 +61,11 @@ class AppServiceProvider extends ServiceProvider
User::observe(UserObserver::class);
Application::observe(ApplicationObserver::class);
$this->app['request']->server->set('HTTPS', $this->app->environment() != 'local');
$https = ($this->app->environment() != 'local');
if(config('app.force_secure') && $this->app->environment() != 'production')
$https = true;
$this->app['request']->server->set('HTTPS', $https);
}
}

0
app/Providers/AuthServiceProvider.php Normal file → Executable file
View File

0
app/Providers/BroadcastServiceProvider.php Normal file → Executable file
View File

0
app/Providers/ContextAwareValidatorProvider.php Normal file → Executable file
View File

View File

@@ -0,0 +1,31 @@
<?php
namespace App\Providers;
use Illuminate\Support\ServiceProvider;
use App;
class DigitalStorageProvider extends ServiceProvider
{
/**
* Register services.
*
* @return void
*/
public function register()
{
//
}
/**
* Bootstrap services.
*
* @return void
*/
public function boot()
{
App::bind('digitalStorageHelperFacadeRoot', function (){
return new App\Helpers\DigitalStorageHelper();
});
}
}

0
app/Providers/EventServiceProvider.php Normal file → Executable file
View File

0
app/Providers/IPInfoProvider.php Normal file → Executable file
View File

0
app/Providers/MojangStatusProvider.php Normal file → Executable file
View File

0
app/Providers/OptionsProvider.php Normal file → Executable file
View File

0
app/Providers/RouteServiceProvider.php Normal file → Executable file
View File

0
app/Providers/UUIDConversionProvider.php Normal file → Executable file
View File