XOOPS 2.5.6  Final
 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';
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 ?>