v2board/app/Providers/AppServiceProvider.php

29 lines
469 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:41:31 +08:00
$this->app['view']->addNamespace('theme', public_path() . '/theme');
2019-10-29 15:33:36 +08:00
}
}