| Line |  | 
|---|
| 1 | <?php | 
|---|
| 2 | $mydirname = basename(dirname( dirname( __FILE__ ) )) ; | 
|---|
| 3 | $mydirpath = dirname( dirname( __FILE__ ) ) ; | 
|---|
| 4 | require_once '../../../include/cp_header.php' ; | 
|---|
| 5 |  | 
|---|
| 6 | if( defined( 'XOOPS_CUBE_LEGACY' ) ) { | 
|---|
| 7 | $url = XOOPS_URL.'/modules/legacy/admin/index.php?action=ModuleUpdate&dirname=' . $mydirname; | 
|---|
| 8 | } else { | 
|---|
| 9 | $url = XOOPS_URL.'/modules/system/admin.php?fct=modulesadmin&op=update&module=' . $mydirname ; | 
|---|
| 10 | } | 
|---|
| 11 | header('Location: ' . $url); | 
|---|
| 12 | ?> | 
|---|
       
      
      Note: See 
TracBrowser
        for help on using the repository browser.