]> git.mxchange.org Git - core.git/blobdiff - framework/main/classes/template/html/class_HtmlTemplateEngine.php
Continued:
[core.git] / framework / main / classes / template / html / class_HtmlTemplateEngine.php
index 76dac48c78cc77cfc4419b9fea3507722ff80ae2..306445215e566c4ce2339b16a7274a399ad58f29 100644 (file)
@@ -71,9 +71,6 @@ class HtmlTemplateEngine extends BaseTemplateEngine implements CompileableTempla
                if (empty($templateBasePath)) {
                        // Base path is empty
                        throw new UnexpectedValueException(sprintf('[%s:%d] Variable templateBasePath is empty.', $templateInstance->__toString(), __LINE__), self::EXCEPTION_UNEXPECTED_EMPTY_STRING);
-               } elseif (!is_string($templateBasePath)) {
-                       // Is not a string
-                       throw new UnexpectedValueException(sprintf('[%s:%d] %s is not a string with a base path.', $templateInstance->__toString(), __LINE__, $templateBasePath), self::EXCEPTION_INVALID_STRING);
                } elseif (!is_dir($templateBasePath)) {
                        // Is not a path
                        throw new InvalidDirectoryException(array($templateInstance, $templateBasePath), self::EXCEPTION_INVALID_PATH_NAME);