We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 697291d commit 8ee73aeCopy full SHA for 8ee73ae
1 file changed
classes/view/twig.php
@@ -61,7 +61,7 @@ protected function process_file($file_override = false)
61
$views_paths[] = $path . 'views';
62
}
63
64
- $views_pathsp[] = APPPATH . 'views';
+ $views_paths[] = APPPATH . 'views';
65
66
array_unshift($views_paths, pathinfo($file, PATHINFO_DIRNAME));
67
@@ -115,7 +115,10 @@ protected function process_file($file_override = false)
115
catch (\Exception $e)
116
{
117
// Delete the output buffer & re-throw the exception
118
- ob_end_clean();
+ if (ob_get_level() > 0)
119
+ {
120
+ ob_end_clean();
121
+ }
122
throw $e;
123
124
0 commit comments