<?php } else { ?> <p><?php echo TRUST_PATH_SUCCESSFULLY_CREATED . '</p>'; } } $ctrl = new PathStuffController(); if ($_SERVER['REQUEST_METHOD'] == 'GET' && @$_GET['action'] == 'checkrootpath') { $ctrl->xoopsRootPath = $_GET['path']; echo genRootCheckHtml($ctrl->checkRootPath()); exit; } if ($_SERVER['REQUEST_METHOD'] == 'GET' && @$_GET['action'] == 'checktrustpath') { $ctrl->xoopsTrustPath = $_GET['path']; echo genTrustPathCheckHtml($ctrl->checkTrustPath()); exit; } if ($_SERVER['REQUEST_METHOD'] == 'GET' && @$_GET['action'] == 'createtrustpath') { $ctrl->xoopsTrustPath = $_GET['path']; echo genCreateTrustPathHtml($ctrl->createTrustPath()); exit; } $ctrl->execute(); if ($_SERVER['REQUEST_METHOD'] == 'POST') { return; } ob_start(); ?> <script type="text/javascript" src="pathsettings.js"></script>