XPressME Integration Kit

Trac

source: branches/Ver2.4/xpressme_integration_kit/admin/update.php @ 834

Last change on this file since 834 was 461, checked in by toemon, 14 years ago

モジュール管理メニューに「アップデート」を追加 Fixes #254

File size: 438 bytes
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.