admin/admin_header.php
<?php
/*
* You may not change or alter any portion of this comment or credits
* of supporting developers from this source code or any supporting source code
* which is considered copyrighted (c) material of the original comment or credit authors.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
*/
/**
* @copyright The XOOPS Project http://xoops.org
* @license GNU GPL 2 or later (http://www.gnu.org/licenses/gpl-2.0.html)
* @author XOOPS Development Team
*/
$path = dirname(dirname(dirname(__DIR__)));
require_once $path . '/mainfile.php';
require_once $path . '/include/cp_functions.php';
require_once $path . '/include/cp_header.php';
include dirname(__DIR__) . '/include/common.php';
class_exists('\Xmf\Module\Admin') or die('XMF is required.');
global $xoopsModule;
$thisModuleDir = $GLOBALS['xoopsModule']->getVar('dirname');
// Load language files
\Xmf\Language::load('main', $thisModuleDir);
//\Xmf\Language::load('modinfo', $thisModuleDir);
xoops_cp_header();