Better use isReadableFile() instead of plain is_readable() is the later will
authorRoland Haeder <roland@mxchange.org>
Tue, 26 May 2015 19:51:34 +0000 (21:51 +0200)
committerRoland Haeder <roland@mxchange.org>
Tue, 26 May 2015 19:51:34 +0000 (21:51 +0200)
commitb3fdb8014a8f1028502534e229bceea2e4f6686d
tree5f1820b0dc50bcc092024d23820a522791cf92c2
parent60a8c1d1842533835c832004e03c0aa0aa003224
Better use isReadableFile() instead of plain is_readable() is the later will
thrown an E_WARNING if the path is not within open_basedir. isReadableFile() uses
isReachableFilePath() which does this check.

Signed-off-by: Roland Haeder <roland@mxchange.org>
application/hub/main/template/class_BaseXmlTemplateEngine.php
core