| Conditions | 2 |
| Paths | 2 |
| Total Lines | 14 |
| Code Lines | 8 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 0 |
| CRAP Score | 6 |
| Changes | 0 | ||
| 1 | <?php |
||
| 20 | public function __construct() |
||
| 21 | { |
||
| 22 | if (Config::get('twill.bind_exception_handler', true)) { |
||
| 23 | App::singleton(ExceptionHandler::class, TwillHandler::class); |
||
| 24 | } |
||
| 25 | |||
| 26 | $this->seo = new Seo; |
||
| 27 | |||
| 28 | $this->seo->title = Config::get('twill.seo.site_title'); |
||
| 29 | $this->seo->description = Config::get('twill.seo.site_desc'); |
||
| 30 | $this->seo->width = 900; |
||
| 31 | $this->seo->height = 470; |
||
| 32 | |||
| 33 | View::share('seo', $this->seo); |
||
| 34 | } |
||
| 36 |