mirror of
https://gitee.com/fastadminnet/framework.git
synced 2026-07-07 07:12:47 +08:00
改进
This commit is contained in:
@@ -159,7 +159,7 @@ class View
|
|||||||
$method = $renderContent ? 'display' : 'fetch';
|
$method = $renderContent ? 'display' : 'fetch';
|
||||||
$this->engine->$method($template, $vars, $config);
|
$this->engine->$method($template, $vars, $config);
|
||||||
} catch (\Exception $e) {
|
} catch (\Exception $e) {
|
||||||
ob_clean();
|
ob_end_clean();
|
||||||
throw $e;
|
throw $e;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user