Changeset 360 for trunk/xpressme_integration_kit/include
- Timestamp:
- Aug 11, 2009, 4:31:35 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/xpressme_integration_kit/include/add_xpress_process.php
r358 r360 2 2 require_once( dirname( __FILE__ ).'/request_url.php'); 3 3 if (is_xpress_index_page_call()){ 4 //When notifying by a private message, 4 //When notifying by a private message, Notification_reserve_send(); 5 5 //it is evaded that the data base becomes read-only as a result of the check on the referrer and the method. 6 6 $_SERVER['REQUEST_METHOD'] = 'POST'; … … 27 27 Notification_reserve_send(); 28 28 ob_start(); 29 if ($xoops_config->is_wp20)29 if (version_compare($xoops_config->wp_version,'2.2', '<')) 30 30 require_once dirname( __FILE__ ).'/old_template-loader.php' ; 31 31 else … … 49 49 exit(); // The return to wp-blog-header.php is stolen here 50 50 } 51 if (is_admin_post_call()) require_once $xoops_config->xoops_mainfile_path; 52 if (is_xpress_comments_post_call()) require_once $xoops_config->xoops_mainfile_path; 51 if (is_admin_post_call()) require_once $xoops_config->xoops_mainfile_path; // for Notification_triggerEvent 52 if (is_xpress_comments_post_call()) require_once $xoops_config->xoops_mainfile_path; // for Notification_triggerEvent 53 53 ?>
Note: See TracChangeset
for help on using the changeset viewer.