Skip to:
Content

bbPress.org


Ignore:
Timestamp:
03/30/2008 10:36:13 AM (18 years ago)
Author:
sambauers
Message:

Various optimisations and typo fixes - Fixes #842 - props momo360modena - branches/0.8

File:
1 edited

Legend:

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

    r1372 r1386  
    990990       
    991991        // 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) {
    993993            switch (substr($line,0,18)) {
    994994                case "define('BBDB_NAME'":
     
    13221322            $this->strings[3]['form_errors']['keymaster_user_login'][] = 'userlogin';
    13231323        }
    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']);
    13251325       
    13261326        // bb_verify_email() needs this
     
    15201520                   
    15211521                    // 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) {
    15231523                        if (substr($line,0,18) == "define('BB_SECRET_") {
    15241524                            $config_lines[] = str_replace("'" . BB_SECRET_KEY . "'", "'" . $data2['wp_secret_key']['value'] . "'", $line);
Note: See TracChangeset for help on using the changeset viewer.