- Timestamp:
- Jun 18, 2009, 10:41:06 AM (16 years ago)
- Location:
- branches/Ver2.0/xpressme_integration_kit
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/Ver2.0/xpressme_integration_kit/wp-config.php
r232 r291 97 97 require_once $xoops_config->xoops_mainfile_path; //It is necessary to execute it for the user attestation before wp-settings.php. 98 98 require_once(ABSPATH.'wp-settings.php'); 99 if (!is_object($xoopsUser)){ // before login auth cookie clear 100 wp_logout(); 101 } 99 102 wp(); 100 103 -
branches/Ver2.0/xpressme_integration_kit/wp-content/plugins/xpressme/include/pluggable-override.php
r232 r291 23 23 if ($xoopsModule){ 24 24 if (!is_object($xoopsUser)){ 25 wp_set_current_user(0); 26 wp_clearcookie(); 27 28 // wp_logout(); // When IE is used, it becomes page error by the guest if the wp_logout() is executed here. 29 return false; 25 wp_set_current_user(0); 26 if ( !preg_match("/MSIE/", $_SERVER['HTTP_USER_AGENT']) && 27 !preg_match("/msie/", $_SERVER['HTTP_USER_AGENT']) ) { 28 wp_logout(); // When IE is used, it becomes page error by the guest if the wp_logout() is executed here. 29 } 30 return false; 30 31 } 31 32 if ( defined('XMLRPC_REQUEST') && XMLRPC_REQUEST ) … … 95 96 } 96 97 wp_set_current_user(0); 97 wp_clearcookie();98 98 return 0; 99 99 }
Note: See TracChangeset
for help on using the changeset viewer.