XPressME Integration Kit

Trac

Changeset 295


Ignore:
Timestamp:
Jun 18, 2009, 3:23:25 PM (15 years ago)
Author:
toemon
Message:

WP2.8でウィジェットブロック編集時エラーバグ修正 fixes #160

Location:
branches/Ver2.0/xpressme_integration_kit
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/Ver2.0/xpressme_integration_kit/admin/index.php

    r232 r295  
    557557        }                
    558558} 
    559          
     559 
     560 
     561$mydirname = basename( dirname( dirname( __FILE__ ) ) ) ; 
     562$mydirpath = dirname( dirname( __FILE__ ) ) ; 
     563require_once($mydirpath.'/wp-load.php');         
    560564         
    561565require_once '../../../include/cp_header.php' ; 
     
    565569// branch for altsys 
    566570if( defined( 'XOOPS_TRUST_PATH' ) && ! empty( $_GET['lib'] ) ) { 
    567         $mydirname = basename( dirname( dirname( __FILE__ ) ) ) ; 
    568         $mydirpath = dirname( dirname( __FILE__ ) ) ; 
    569571 
    570572        // common libs (eg. altsys) 
  • branches/Ver2.0/xpressme_integration_kit/blocks/widget_block.php

    r232 r295  
    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.