Go back to anterior behaviour

This commit is contained in:
Antonio de la Rosa 2016-03-23 00:19:28 +01:00
parent fb5b435018
commit 22b685ad55

View file

@ -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;