]> git.mxchange.org Git - hub.git/blobdiff - application/hub/main/template/class_BaseXmlTemplateEngine.php
Updated 'core' + more usage of FileNotFoundException + updated index.php
[hub.git] / application / hub / main / template / class_BaseXmlTemplateEngine.php
index 676e09b005dfcba3c5110e38a0143fc03b87f07f..db4e2cfa21efad1622f7cc24d39157418bb00795 100644 (file)
@@ -99,7 +99,7 @@ class BaseXmlTemplateEngine extends BaseTemplateEngine {
                } 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);
                }