XPressME Integration Kit

Trac

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

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

WordPress? updateの直リンク機能追加 fixed #422

File size: 328 bytes
Line 
1<?php
2        $mydirname = basename(dirname( dirname( __FILE__ ) )) ;
3        $mydirpath = dirname( dirname( __FILE__ ) ) ;
4        require_once '../../../include/cp_header.php' ;
5        require_once $mydirpath . '/wp-config.php' ;
6       
7        $url = XOOPS_URL . '/modules/' . $mydirname . '/wp-admin/admin.php?page=upgrade_page'; 
8        header('Location: ' . $url);
9?>
Note: See TracBrowser for help on using the repository browser.