- Timestamp:
- Dec 3, 2009, 5:11:25 PM (15 years ago)
- Location:
- trunk/xpressme_integration_kit
- Files:
-
- 4 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 /** -
trunk/xpressme_integration_kit/wp-content/plugins/xpressme/include/custom_functions.php
r469 r477 95 95 96 96 $output = ''; 97 $author_cookie = get_xpress_dir_name() . "_select_author" ;97 $author_cookie = 'select_' . get_xpress_dir_name() . "_author" ; 98 98 if (!empty($_COOKIE[$author_cookie])){ 99 99 $uid = intval($_COOKIE[$author_cookie]); … … 115 115 extract( $r ); 116 116 $output = ''; 117 $author_cookie = get_xpress_dir_name() . "_select_author" ;117 $author_cookie = 'select_' . get_xpress_dir_name() . "_author" ; 118 118 if (!empty($_COOKIE[$author_cookie])){ 119 119 $output = intval($_COOKIE[$author_cookie]); -
trunk/xpressme_integration_kit/wp-content/plugins/xpressme/include/xpress_common_functions.php
r469 r477 242 242 if (is_admin()) return $query_vars; 243 243 244 $author_cookie = get_xpress_dir_name() . "_select_author" ;244 $author_cookie = 'select_' . get_xpress_dir_name() . "_author" ; 245 245 if(xpress_is_multi_user()){ 246 246 if (!empty($_GET)){ … … 294 294 if (is_admin()) return $query; 295 295 296 $author_cookie = get_xpress_dir_name() . "_select_author" ;296 $author_cookie = 'select_' . get_xpress_dir_name() . "_author" ; 297 297 298 298 if (strpos($query,'SELECT') === false) return $query;
Note: See TracChangeset
for help on using the changeset viewer.