Signed-off-by: Roland Haeder <roland@mxchange.org>
} elseif (!is_dir($templateBasePath)) {
// Is not a path
throw new BasePathIsNoDirectoryException(array($this, $templateBasePath), self::EXCEPTION_INVALID_PATH_NAME);
- } elseif (!BaseFrameworkSystem::isReadableFile($templateBasePath)) {
+ } elseif (!is_readable($templateBasePath)) {
// Is not readable
throw new BasePathReadProtectedException(array($this, $templateBasePath), self::EXCEPTION_READ_PROTECED_PATH);
}
-Subproject commit 45f745c841b922173589746722ab8ab986d9f472
+Subproject commit 0ae3d7b0ff8ec700c174130c886eb2f9467022f0
// Flush the response
$responseInstance->flushBuffer();
- } catch (FileIoException $e) {
+ } catch (FileNotFoundException $e) {
// Even the template 'emergency_exit' wasn't found so output both message
exit($message . ', exception: ' . $e->getMessage());
}