Changeset 696
- Timestamp:
- Mar 29, 2011, 7:29:26 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/xpressme_integration_kit/include/add_xpress_process.php
r655 r696 114 114 require_once( dirname( __FILE__ ).'/request_url.php'); 115 115 require_once( dirname( __FILE__ ).'/memory_limit.php'); 116 117 $global_session = $_SESSION; 118 116 119 if (is_xpress_index_page_call()){ 117 120 //$_SERVER['REQUEST_METHOD'] = 'POST' is … … 124 127 xpress_set_memory_limmit(); // Set memory limmit.(Limmit Value from XPressMe modele config.) 125 128 unset($offset); //This Trap is provides the case where $offset is defined on the XOOPS side. 129 126 130 require_once(ABSPATH.'wp-settings.php'); 127 131 128 132 //When it is not possible to connect it correctly at site home URL on the WordPress side, 129 133 //URL is corrected based on accessed URL. 134 130 135 global $xoopsUserIsAdmin; 131 136 if ($xoopsUserIsAdmin) safe_site_url(); … … 135 140 } 136 141 wp(); 137 138 142 //for Event notification update on single post to which link is changed by permalink 139 143 if ( is_404() ) { … … 196 200 set_xpress_block_header($xoops_config->module_name); 197 201 } 202 if ( ini_get( 'register_globals' ) ) 203 $_SESSION = $global_session; //restore a session erased by wp_unregister_GLOBALS 204 198 205 exit(); // The return to wp-blog-header.php is stolen here 199 206 } … … 201 208 if (is_xpress_comments_post_call()) require_once $xoops_config->xoops_mainfile_path; // for Notification_triggerEvent 202 209 xpress_set_memory_limmit(); // Set memory limmit.(Limmit Value from XPressMe modele config.) 210 require_once(ABSPATH.'wp-settings.php'); 211 if ( ini_get( 'register_globals' ) ) 212 $_SESSION = $global_session; //restore a session erased by wp_unregister_GLOBALS 203 213 ?>
Note: See TracChangeset
for help on using the changeset viewer.