v2board/app/Providers/AppServiceProvider.php

29 lines
474 B
PHP
Raw Normal View History

2019-10-29 15:33:36 +08:00
<?php
namespace App\Providers;
use Illuminate\Support\ServiceProvider;
class AppServiceProvider extends ServiceProvider
{
/**
* Register any application services.
*
* @return void
*/
public function register()
{
//
}
/**
* Bootstrap any application services.
*
* @return void
*/
public function boot()
{
2021-07-29 01:21:09 +08:00
$this->app['view']->addNamespace('theme', base_path() . '/public/theme');
2019-10-29 15:33:36 +08:00
}
}