duckbrain/src/Libs/View.php
2020-03-07 23:37:19 -04:00

14 lines
246 B
PHP

<?php
namespace Libs;
defined('ROOT_DIR') || die('8)');
class View {
public static function render($viewName, $params = array()){
$view = (object) $params;
unset($params);
include(ROOT_DIR.'src/Views/'.$viewName.'.php');
}
}
?>