XPressME Integration Kit

Trac

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

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

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

File size: 316 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/update-core.php';     
8        header('Location: ' . $url);
9?>
Note: See TracBrowser for help on using the repository browser.