Changeset 477 for trunk/xpressme_integration_kit/include
- Timestamp:
- Dec 3, 2009, 5:11:25 PM (15 years ago)
- Location:
- trunk/xpressme_integration_kit/include
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/xpressme_integration_kit/include/add_xpress_process.php
r475 r477 36 36 //When notifying by a private message, Notification_reserve_send(); 37 37 //it is evaded that the data base becomes read-only as a result of the check on the referrer and the method. 38 $request_method = (isset($_SERVER['REQUEST_METHOD'])) ? $_SERVER['REQUEST_METHOD'] : ''; 38 39 $_SERVER['REQUEST_METHOD'] = 'POST'; 39 40 40 require_once $xoops_config->xoops_mainfile_path; //It is necessary to execute it for the user attestation before wp-settings.php. 41 $_SERVER['REQUEST_METHOD'] = $request_method; 41 42 unset($offset); 42 43 require_once(ABSPATH.'wp-settings.php'); -
trunk/xpressme_integration_kit/include/set_cash_cookie_path.php
r232 r477 8 8 */ 9 9 if ( !defined('USER_COOKIE') ) 10 define('USER_COOKIE', $modname . 'user_' . $hash);10 define('USER_COOKIE', 'wordpress_' . $modname . 'user_' . $hash); 11 11 12 12 /** … … 15 15 */ 16 16 if ( !defined('PASS_COOKIE') ) 17 define('PASS_COOKIE', $modname . 'pass_' . $hash);17 define('PASS_COOKIE', 'wordpress_' . $modname . 'pass_' . $hash); 18 18 19 19 /** … … 22 22 */ 23 23 if ( !defined('AUTH_COOKIE') ) 24 define('AUTH_COOKIE', $modname . '_auth_' . $hash);24 define('AUTH_COOKIE', 'wordpress_' . $modname . '_auth_' . $hash); 25 25 26 26 /** … … 29 29 */ 30 30 if ( !defined('SECURE_AUTH_COOKIE') ) 31 define('SECURE_AUTH_COOKIE', $modname . '_sec_' . $hash);31 define('SECURE_AUTH_COOKIE', 'wordpress_' . $modname . '_sec_' . $hash); 32 32 33 33 /** … … 36 36 */ 37 37 if ( !defined('LOGGED_IN_COOKIE') ) 38 define('LOGGED_IN_COOKIE', $modname . '_logged_in_' . $hash);38 define('LOGGED_IN_COOKIE', 'wordpress_' . $modname . '_logged_in_' . $hash); 39 39 40 40 /** … … 43 43 */ 44 44 if ( !defined('TEST_COOKIE') ) 45 define('TEST_COOKIE', $modname . '_test_cookie');45 define('TEST_COOKIE', 'wordpress_' . $modname . '_test_cookie'); 46 46 47 47 /**
Note: See TracChangeset
for help on using the changeset viewer.