PHP Classes

File: htdocs/modules/protector/admin/prefix_manager.php

Recommend this page to a friend!
  Packages of Michael Beck   Xoops 2.5   htdocs/modules/protector/admin/prefix_manager.php   Download  
File: htdocs/modules/protector/admin/prefix_manager.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: 360 bytes
 

Contents

Class file image Download
<?php

require dirname(__DIR__, 3) . '/mainfile.php';
defined('XOOPS_TRUST_PATH') || exit('set XOOPS_TRUST_PATH in mainfile.php');

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

require XOOPS_TRUST_PATH . '/modules/' . $mytrustdirname . '/admin/prefix_manager.php';