File manager - Edit - /home/missmand/public_html/learning/old/main/cooperation/refresh_errors.php
Back
<?php require_once '../inc/global.inc.php'; require_once(api_get_path(SYS_PATH) . 'main/couple/error.php'); header("Content-Type: text/html"); // Clear if user asked to if (isset($_GET['action']) && $_GET['action'] == 'clear') { error_clear(); } // Assign variables $controller = new IndexManager("Ajax"); $controller->tpl->assign('errors', error_get()); // Render template $tpl = $controller->tpl->get_template('layout/mm_errors.tpl'); $controller->tpl->display($tpl); ?>
| ver. 1.4 |
Github
|
.
| PHP 7.4.33 | Generation time: 0 |
proxy
|
phpinfo
|
Settings