File manager - Edit - /home/autoph/public_html/projects/api/app/Core/View.php
Back
<?php namespace App\Core; class View { public static function render($view, $args = []) { extract($args, EXTR_SKIP); $file = dirname(dirname(dirname(__FILE__))) . '/resources/views/' . $view . '.php'; if (is_readable($file)) { require_once $file; } else { throw new \Exception("$file not found"); } } }
| ver. 1.4 |
.
| PHP 8.0.30 | Generation time: 0 |
proxy
|
phpinfo
|
Settings