Changeset 295
- Timestamp:
- Jun 18, 2009, 3:23:25 PM (16 years ago)
- 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 557 557 } 558 558 } 559 559 560 561 $mydirname = basename( dirname( dirname( __FILE__ ) ) ) ; 562 $mydirpath = dirname( dirname( __FILE__ ) ) ; 563 require_once($mydirpath.'/wp-load.php'); 560 564 561 565 require_once '../../../include/cp_header.php' ; … … 565 569 // branch for altsys 566 570 if( defined( 'XOOPS_TRUST_PATH' ) && ! empty( $_GET['lib'] ) ) { 567 $mydirname = basename( dirname( dirname( __FILE__ ) ) ) ;568 $mydirpath = dirname( dirname( __FILE__ ) ) ;569 571 570 572 // common libs (eg. altsys) -
branches/Ver2.0/xpressme_integration_kit/blocks/widget_block.php
r232 r295 22 22 23 23 global $table_prefix,$wpdb,$xoops_db; 24 require_once(XOOPS_ROOT_PATH.'/modules/'.$mydirname.'/wp-load.php');25 24 global $wp_registered_sidebars, $wp_registered_widgets; 26 25
Note: See TracChangeset
for help on using the changeset viewer.