2019-05-14 07:52:49 +00:00
|
|
|
<?php
|
|
|
|
|
|
|
|
namespace App\Providers;
|
|
|
|
|
|
|
|
use Illuminate\Support\ServiceProvider;
|
2021-12-10 06:31:03 +00:00
|
|
|
use LdapRecord\Configuration\DomainConfiguration;
|
2019-05-14 07:52:49 +00:00
|
|
|
|
|
|
|
class AppServiceProvider extends ServiceProvider
|
|
|
|
{
|
|
|
|
/**
|
|
|
|
* Register any application services.
|
|
|
|
*
|
|
|
|
* @return void
|
|
|
|
*/
|
|
|
|
public function register()
|
|
|
|
{
|
2021-12-10 06:31:03 +00:00
|
|
|
// Add a new option available to be set in the configuration:
|
|
|
|
DomainConfiguration::extend('name', $default = null);
|
2019-05-14 07:52:49 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Bootstrap any application services.
|
|
|
|
*
|
|
|
|
* @return void
|
|
|
|
*/
|
|
|
|
public function boot()
|
|
|
|
{
|
2020-09-05 23:46:27 +00:00
|
|
|
$this->loadViewsFrom(__DIR__.'/../../resources/themes/architect/views/','architect');
|
2019-05-14 07:52:49 +00:00
|
|
|
}
|
|
|
|
}
|