Changeset 299
- Timestamp:
- Jun 18, 2009, 5:16:13 PM (16 years ago)
- Location:
- trunk/xpressme_integration_kit
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/xpressme_integration_kit/admin/index.php
r232 r299 558 558 } 559 559 560 $mydirname = basename( dirname( dirname( __FILE__ ) ) ) ; 561 $mydirpath = dirname( dirname( __FILE__ ) ) ; 562 require_once($mydirpath.'/wp-config.php'); 560 563 561 564 require_once '../../../include/cp_header.php' ; … … 565 568 // branch for altsys 566 569 if( defined( 'XOOPS_TRUST_PATH' ) && ! empty( $_GET['lib'] ) ) { 567 $mydirname = basename( dirname( dirname( __FILE__ ) ) ) ;568 $mydirpath = dirname( dirname( __FILE__ ) ) ;569 570 570 571 // common libs (eg. altsys) -
trunk/xpressme_integration_kit/blocks/widget_block.php
r232 r299 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.