Changeset 1386 for branches/0.8/bb-admin/class-install.php
- Timestamp:
- 03/30/2008 10:36:13 AM (18 years ago)
- File:
-
- 1 edited
-
branches/0.8/bb-admin/class-install.php (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
branches/0.8/bb-admin/class-install.php
r1372 r1386 990 990 991 991 // Loop through the sample config and write lines to the new config file 992 foreach ($sample_config as $line _num => $line) {992 foreach ($sample_config as $line) { 993 993 switch (substr($line,0,18)) { 994 994 case "define('BBDB_NAME'": … … 1322 1322 $this->strings[3]['form_errors']['keymaster_user_login'][] = 'userlogin'; 1323 1323 } 1324 $data['keymaster_user_login']['value'] = =sanitize_user($data['keymaster_user_login']['value']);1324 $data['keymaster_user_login']['value'] = sanitize_user($data['keymaster_user_login']['value']); 1325 1325 1326 1326 // bb_verify_email() needs this … … 1520 1520 1521 1521 // Loop through the sample config and write lines to the new config file 1522 foreach ($config as $line _num => $line) {1522 foreach ($config as $line) { 1523 1523 if (substr($line,0,18) == "define('BB_SECRET_") { 1524 1524 $config_lines[] = str_replace("'" . BB_SECRET_KEY . "'", "'" . $data2['wp_secret_key']['value'] . "'", $line);
Note: See TracChangeset
for help on using the changeset viewer.