rename views to _views

This commit is contained in:
Murphy 2024-03-30 12:16:00 -04:00
parent 1f04b83be3
commit 2968ee5280
Signed by: freya
GPG key ID: 744AB800E383AE52
12 changed files with 1 additions and 1 deletions

View file

@ -37,7 +37,7 @@ abstract class Controller {
protected function view($__name, $data = array()) { protected function view($__name, $data = array()) {
$__root = $GLOBALS['webroot']; $__root = $GLOBALS['webroot'];
$__path = $__root . '/views/' . $__name . '.php'; $__path = $__root . '/_views/' . $__name . '.php';
if (is_file($__path)) { if (is_file($__path)) {
extract($data); extract($data);
require($__path); require($__path);