fixed bug that prevented view exception from being shown.
This commit is contained in:
parent
812d3ff51f
commit
cda4567446
|
@ -158,7 +158,7 @@ public function get()
|
||||||
|
|
||||||
if ( ! file_exists($this->path.$view.EXT))
|
if ( ! file_exists($this->path.$view.EXT))
|
||||||
{
|
{
|
||||||
Exception\Handler::make(new Exception("View [$view] does not exist."))->handle();
|
Exception\Handler::make(new \Exception("View [$view] does not exist."))->handle();
|
||||||
}
|
}
|
||||||
|
|
||||||
foreach ($this->data as &$data)
|
foreach ($this->data as &$data)
|
||||||
|
|
Loading…
Reference in New Issue