PHP Classes

File: htdocs/modules/pm/admin/header.php

Recommend this page to a friend!
  Packages of Michael Beck   Xoops 2.5   htdocs/modules/pm/admin/header.php   Download  
File: htdocs/modules/pm/admin/header.php
Role: Example script
Content type: text/plain
Description: Example script
Class: Xoops 2.5
Modular content management publication system
Author: By
Last change: copyright update
Cascading dirname(...) calls
Merge branch 'feature/php8_templates' of https://github.com/mambax7/XoopsCore25 into feature/php8_templates

# Conflicts:
# htdocs/themes/xswatch4/modules/publisher/publisher_item.tpl
Merge xswatch4
Date: 2 months ago
Size: 977 bytes
 

Contents

Class file image Download
<?php
/**
 * Private message
 *
 * 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 (c) 2000-2025 XOOPS Project (https://xoops.org)
 * @license GNU GPL 2 (https://www.gnu.org/licenses/gpl-2.0.html)
 * @package pm
 * @since 2.3.0
 * @author Taiwen Jiang <phppp@users.sourceforge.net>
 */

require_once dirname(__DIR__, 3) . '/include/cp_header.php';

if (!isset(
$GLOBALS['xoopsTpl']) || !is_object($GLOBALS['xoopsTpl'])) {
    include_once
XOOPS_ROOT_PATH . '/class/template.php';
   
$GLOBALS['xoopsTpl'] = new XoopsTpl();
}