29 include_once
$xoops->path(
'include/cp_functions.php');
33 $url_arr = explode(
'/', strstr(
$_SERVER[
'REQUEST_URI'],
'/modules/'));
34 if (!
$xoops->isActiveModule($url_arr[2])) {
37 $xoops->module =
$xoops->getModuleByDirname($url_arr[2]);
47 if (
$xoops->module->getVar(
'hasconfig') == 1 ||
$xoops->module->getVar(
'hascomments') == 1) {
52 $xoops->loadLanguage(
'admin',
$xoops->module->getVar(
'dirname'));
defined('DS') or define('DS' DIRECTORY_SEPARATOR
const E_NO_ACCESS_PERMISSION