Skip to:
Content

bbPress.org


Ignore:
Timestamp:
03/30/2008 10:31:06 AM (19 years ago)
Author:
sambauers
Message:

Various optimisations and typo fixes - Fixes #842 - props momo360modena

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/bb-admin/class-install.php

    r1370 r1385  
    994994               
    995995                // Loop through the sample config and write lines to the new config file
    996                 foreach ($sample_config as $line_num => $line) {
     996                foreach ($sample_config as $line) {
    997997                        switch (substr($line,0,18)) {
    998998                                case "define('BBDB_NAME'":
    … …  
    13261326                        $this->strings[3]['form_errors']['keymaster_user_login'][] = 'userlogin';
    13271327                }
    1328                 $data['keymaster_user_login']['value'] == sanitize_user($data['keymaster_user_login']['value']);
     1328                $data['keymaster_user_login']['value'] = sanitize_user($data['keymaster_user_login']['value']);
    13291329               
    13301330                // bb_verify_email() needs this
    … …  
    15241524                                       
    15251525                                        // Loop through the sample config and write lines to the new config file
    1526                                         foreach ($config as $line_num => $line) {
     1526                                        foreach ($config as $line) {
    15271527                                                if (substr($line,0,18) == "define('BB_SECRET_") {
    15281528                                                        $config_lines[] = str_replace("'" . BB_SECRET_KEY . "'", "'" . $data2['wp_secret_key']['value'] . "'", $line);
Note: See TracChangeset for help on using the changeset viewer.