Refactored Form.

This commit is contained in:
Dmitry Khomutov 2018-03-04 17:50:08 +07:00
commit cfe93434ad
No known key found for this signature in database
GPG key ID: EC19426474B37AAC
45 changed files with 58 additions and 83 deletions

View file

@ -28,7 +28,7 @@ class View
protected static function getViewFile($file, $path = null)
{
$viewPath = is_null($path) ? Config::getInstance()->get('b8.view.path') : $path;
$viewPath = is_null($path) ? (SRC_DIR . 'View/') : $path;
$fullPath = $viewPath . $file . '.' . static::$extension;
return $fullPath;