From 22b685ad551a78cc6bcd2cdd7fea9893bfc9c70f Mon Sep 17 00:00:00 2001 From: Antonio de la Rosa Date: Wed, 23 Mar 2016 00:19:28 +0100 Subject: [PATCH] Go back to anterior behaviour --- src/View.php | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/src/View.php b/src/View.php index 4ff2494..87d59f8 100644 --- a/src/View.php +++ b/src/View.php @@ -189,7 +189,7 @@ class View { { $view_real_path=View::$root_path.'/'.$base_path.'/'.$template.'.php'; - + /* $view_path=View::$root_path.'/'.View::$cache_directory.'/'.$base_path.'/'.$template.'.php'; $all_path[]=$view_real_path; @@ -241,9 +241,12 @@ class View { } - } + }*/ + + if(is_file($view_real_path)) + { - include($view_path); + include($view_real_path); $yes_cache=1;