php-mvc-project/php-mvc

PathUtility::getViewFilePath() can return a root index.php

meet-aleksey opened this issue · 0 comments

The function PathUtility::getViewFilePath(string $path) can return the root index.php if the path is index.php. It is not right. Views files can not be in the root directory of the site.