PHP Classes

File: htdocs/modules/protector/module_icon.php

Recommend this page to a friend!
  Packages of Michael Beck   Xoops 2.5   htdocs/modules/protector/module_icon.php   Download  
File: htdocs/modules/protector/module_icon.php
Role: Auxiliary script
Content type: text/plain
Description: Auxiliary script
Class: Xoops 2.5
Modular content management publication system
Author: By
Last change: Cascading dirname(...) calls
Merge xswatch4
Date: 2 months ago
Size: 367 bytes
 

Contents

Class file image Download
<?php

$xoopsOption
['nocommon'] = true;
require
dirname(__DIR__, 2) . '/mainfile.php';

defined('XOOPS_TRUST_PATH') || exit('set XOOPS_TRUST_PATH in mainfile.php');

$mydirname = basename(__DIR__);
$mydirpath = __DIR__;
require
$mydirpath . '/mytrustdirname.php'; // set $mytrustdirname

require XOOPS_TRUST_PATH . '/modules/' . $mytrustdirname . '/module_icon.php';