- Timestamp:
- Jun 1, 2011, 7:42:28 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/xpressme_integration_kit/include/add_xpress_config.php
r782 r786 9 9 if ( defined('WP_ADMIN') ) { 10 10 $nocommon_scripts = array( 11 'wp-admin', 11 12 'wp-admin/async-upload.php', 12 13 ); 13 14 foreach($nocommon_scripts as $nocommon_script){ 14 15 if (strstr($_SERVER['SCRIPT_NAME'],$nocommon_script) !== false) { 15 $xoopsOption['nocommon'] = 1; 16 defined('XOOPS_BOOTSTRAP') or define('XOOPS_BOOTSTRAP', false); // For XE 17 $xoopsOption['nocommon'] = 1; // For Other 16 18 break; 17 19 } … … 24 26 25 27 require_once dirname( __FILE__ ).'/xpress_debug_log.php' ; 26 require_once dirname(dirname( __FILE__ )).'/class/wpConfigInfo_class.php' ;27 $wpConfigInfo = new wpConfigInfoClass;28 28 require_once dirname(dirname( __FILE__ )).'/class/modInfo_class.php' ; 29 29 $modInfo = new modInfoClass; 30 require_once dirname(dirname( __FILE__ )).'/class/userInfo_class.php' ; 31 $userInfo = new userInfoClass; 30 //require_once dirname(dirname( __FILE__ )).'/class/userInfo_class.php' ; 31 //$userInfo = new userInfoClass; 32 32 33 require_once dirname( __FILE__ ).'/set_cash_cookie_path.php' ; 34 35 33 36 ?>
Note: See TracChangeset
for help on using the changeset viewer.