XOOPS 2.5.6
Final
Main Page
Related Pages
Classes
Files
Examples
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Pages
mytrustdirname.php
Go to the documentation of this file.
1
<?php
2
// edit for xoops 2.4 core by phppp and trabis
3
if
( ! defined(
'XOOPS_TRUST_PATH'
) ) die(
'set XOOPS_TRUST_PATH into mainfile.php'
) ;
4
5
$mytrustdirname
=
'protector'
;
6
7
include_once XOOPS_TRUST_PATH .
'/modules/'
.
$mytrustdirname
.
'/class/registry.php'
;
8
$registry
=&
ProtectorRegistry::getInstance
();
9
$registry
->setEntry(
'mydirname'
, basename(dirname( __FILE__ )));
10
$registry
->setEntry(
'mydirpath'
, dirname( __FILE__ ));
11
$registry
->setEntry(
'mytrustdirname'
,
$mytrustdirname
);
12
$registry
->setEntry(
'language'
, empty(
$xoopsConfig
[
'language'
]) ?
"english"
:
$xoopsConfig
[
'language'
]);
13
?>
L:
0xoops
xoops-2.5.6
htdocs
modules
protector
mytrustdirname.php
Generated on Fri May 10 2013 01:04:28 for XOOPS 2.5.6 by
1.8.3.1