diff --git a/system/view.php b/system/view.php index 798e7f6b..5db1345a 100644 --- a/system/view.php +++ b/system/view.php @@ -103,11 +103,11 @@ public function get() */ protected function find() { - if (file_exists($path = APP_PATH.'views/'.$this->view.EXT)) + if (file_exists($path = VIEW_PATH.$this->view.EXT)) { return $path; } - elseif (file_exists($path = SYS_PATH.'views/'.$this->view.EXT)) + elseif (file_exists($path = SYS_VIEW_PATH.$this->view.EXT)) { return $path; }