Changeset 628 for trunk/wp-admin/import-greymatter.php
- Timestamp:
- 12/18/2003 09:36:13 AM (21 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/import-greymatter.php
r617 r628 6 6 7 7 require_once('wp-config.php'); 8 require_once( $abspath.$b2inc.'/functions.php');9 10 $ b2varstoreset = array('action', 'gmpath', 'archivespath');11 for ($i=0; $i<count($ b2varstoreset); $i += 1) {12 $ b2var = $b2varstoreset[$i];13 if (!isset($$ b2var)) {14 if (empty($HTTP_POST_VARS["$ b2var"])) {15 if (empty($HTTP_GET_VARS["$ b2var"])) {16 $$ b2var = '';8 require_once(ABSPATH.WPINC.'/functions.php'); 9 10 $wpvarstoreset = array('action', 'gmpath', 'archivespath'); 11 for ($i=0; $i<count($wpvarstoreset); $i += 1) { 12 $wpvar = $wpvarstoreset[$i]; 13 if (!isset($$wpvar)) { 14 if (empty($HTTP_POST_VARS["$wpvar"])) { 15 if (empty($HTTP_GET_VARS["$wpvar"])) { 16 $$wpvar = ''; 17 17 } else { 18 $$ b2var = $HTTP_GET_VARS["$b2var"];18 $$wpvar = $HTTP_GET_VARS["$wpvar"]; 19 19 } 20 20 } else { 21 $$ b2var = $HTTP_POST_VARS["$b2var"];21 $$wpvar = $HTTP_POST_VARS["$wpvar"]; 22 22 } 23 23 }
Note: See TracChangeset
for help on using the changeset viewer.