First commit.

This commit is contained in:
kj
2020-03-07 23:37:19 -04:00
commit 9539b43212
10 changed files with 643 additions and 0 deletions

13
src/Libs/View.php Normal file
View File

@ -0,0 +1,13 @@
<?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');
}
}
?>