XOOPS 2.5.6  Final
 All Classes Namespaces Files Functions Variables Pages
module_icon.php
Go to the documentation of this file.
1 <?php
2 
3 $xoopsOption['nocommon'] = true ;
4 require '../../mainfile.php' ;
5 
6 if( ! defined( 'XOOPS_TRUST_PATH' ) ) die( 'set XOOPS_TRUST_PATH into mainfile.php' ) ;
7 
8 $mydirname = basename( dirname( __FILE__ ) ) ;
9 $mydirpath = dirname( __FILE__ ) ;
10 require $mydirpath.'/mytrustdirname.php' ; // set $mytrustdirname
11 
12 require XOOPS_TRUST_PATH.'/modules/'.$mytrustdirname.'/module_icon.php' ;
13 
14 ?>