XOOPS 2.5.6
Final
Main Page
Related Pages
Classes
Files
Examples
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Pages
index.php
Go to the documentation of this file.
1
<?php
2
3
require
'../../mainfile.php'
;
4
if
( ! defined(
'XOOPS_TRUST_PATH'
) ) die(
'set XOOPS_TRUST_PATH in mainfile.php'
) ;
5
6
$mydirname
= basename( dirname( __FILE__ ) ) ;
7
$mydirpath
= dirname( __FILE__ ) ;
8
require
$mydirpath
.
'/mytrustdirname.php'
;
// set $mytrustdirname
9
10
if
( @
$_GET
[
'mode'
] ==
'admin'
) {
11
require XOOPS_TRUST_PATH.
'/modules/'
.
$mytrustdirname
.
'/admin.php'
;
12
}
else
{
13
require XOOPS_TRUST_PATH.
'/modules/'
.
$mytrustdirname
.
'/main.php'
;
14
}
15
16
?>
L:
0xoops
xoops-2.5.6
htdocs
modules
protector
index.php
Generated on Fri May 10 2013 01:04:26 for XOOPS 2.5.6 by
1.8.3.1