XPressME Integration Kit

Trac

Changeset 299


Ignore:
Timestamp:
Jun 18, 2009, 5:16:13 PM (16 years ago)
Author:
toemon
Message:

Ver2.0ブランチ WP2.8でウィジェットブロック編集時エラーの修正 r295 での変更をマージ

Location:
trunk/xpressme_integration_kit
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/xpressme_integration_kit/admin/index.php

    r232 r299  
    558558} 
    559559         
     560$mydirname = basename( dirname( dirname( __FILE__ ) ) ) ; 
     561$mydirpath = dirname( dirname( __FILE__ ) ) ; 
     562require_once($mydirpath.'/wp-config.php'); 
    560563         
    561564require_once '../../../include/cp_header.php' ; 
     
    565568// branch for altsys 
    566569if( defined( 'XOOPS_TRUST_PATH' ) && ! empty( $_GET['lib'] ) ) { 
    567         $mydirname = basename( dirname( dirname( __FILE__ ) ) ) ; 
    568         $mydirpath = dirname( dirname( __FILE__ ) ) ; 
    569570 
    570571        // common libs (eg. altsys) 
  • trunk/xpressme_integration_kit/blocks/widget_block.php

    r232 r299  
    2222                 
    2323                global $table_prefix,$wpdb,$xoops_db; 
    24                 require_once(XOOPS_ROOT_PATH.'/modules/'.$mydirname.'/wp-load.php');     
    2524                global $wp_registered_sidebars, $wp_registered_widgets; 
    2625                 
Note: See TracChangeset for help on using the changeset viewer.