File: header.php

Recommend this page to a friend!
  Classes of Gregory Mage  >  xmdoc  >  header.php  >  Download  
File: header.php
Role: Example script
Content type: text/plain
Description: Example script
Class: xmdoc
XOOPS CMS module to manage files attached to posts
Author: By
Last change:
Date: 1 month ago
Size: 1,084 bytes
 

Contents

Class file image Download
<?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.
*/

/**
 * xmdoc module
 *
 * @copyright XOOPS Project (https://xoops.org)
 * @license GNU GPL 2 (http://www.gnu.org/licenses/old-licenses/gpl-2.0.html)
 * @author Mage Gregory (AKA Mage)
 */
use Xmf\Module\Helper;
$path = dirname(dirname(__DIR__));
require_once
$path . '/mainfile.php';
include_once
XOOPS_ROOT_PATH . '/class/pagenav.php';
include_once
__DIR__ . '/include/common.php';

xoops_load('utility', basename(__DIR__));

$helper = Helper::getHelper('xmdoc');
$permHelper = new Helper\Permission();

// Load language files
$helper->loadLanguage('main');

// Config
$nb_limit = $helper->getConfig('general_perpage', 15);


For more information send a message to info at phpclasses dot org.