Replacment Exception() on InitializationException(), GeneralException() in /view
This commit is contained in:
@ -92,7 +92,7 @@ class PHPView implements iView
|
||||
ob_start();
|
||||
if (!is_readable($this->template)) {
|
||||
ob_clean();
|
||||
throw new InitializationException('Template "' . $this->template .'" not found.');
|
||||
throw new GeneralException('Template "' . $this->template .'" not found.');
|
||||
}
|
||||
include($this->template);
|
||||
return ob_get_clean();
|
||||
|
Reference in New Issue
Block a user