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