Changeset 2665
- Timestamp:
- 02/11/2010 11:54:44 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/bp-forums/bp-forums-admin.php
r2576 r2665 137 137 "define( 'BBDB_CHARSE" => array( "'utf8'", "'" . DB_CHARSET . "'" ), 138 138 "define( 'BBDB_COLLAT" => array( "''", "'" . DB_COLLATE . "'" ), 139 "define( 'BB_AUTH_KEY" => array( "'put your unique phrase here'", "'" . AUTH_KEY. "'" ),140 "define( 'BB_SECURE_A" => array( "'put your unique phrase here'", "'" . SECURE_AUTH_KEY. "'" ),141 "define( 'BB_LOGGED_I" => array( "'put your unique phrase here'", "'" . LOGGED_IN_KEY. "'" ),142 "define( 'BB_NONCE_KE" => array( "'put your unique phrase here'", "'" . NONCE_KEY. "'" ),139 "define( 'BB_AUTH_KEY" => array( "'put your unique phrase here'", "'" . addslashes( AUTH_KEY ) . "'" ), 140 "define( 'BB_SECURE_A" => array( "'put your unique phrase here'", "'" . addslashes( SECURE_AUTH_KEY ) . "'" ), 141 "define( 'BB_LOGGED_I" => array( "'put your unique phrase here'", "'" . addslashes( LOGGED_IN_KEY ) . "'" ), 142 "define( 'BB_NONCE_KE" => array( "'put your unique phrase here'", "'" . addslashes( NONCE_KEY ) . "'" ), 143 143 "\$bb_table_prefix = '" => array( "'bb_'", "'" . $wpdb->base_prefix . "bb_'" ), 144 144 "define( 'BB_LANG', '" => array( "''", "'" . WPLANG . "'" ) … … 163 163 164 164 if ( defined( 'AUTH_SALT' ) ) 165 $file .= "\n\n" . 'define(\'BB_AUTH_SALT\', "' . AUTH_SALT. '");';165 $file .= "\n\n" . 'define(\'BB_AUTH_SALT\', "' . addslashes( AUTH_SALT ) . '");'; 166 166 167 167 if ( defined( 'LOGGED_IN_SALT' ) ) 168 $file .= "\n" . 'define(\'BB_LOGGED_IN_SALT\', "' . LOGGED_IN_SALT. '");';168 $file .= "\n" . 'define(\'BB_LOGGED_IN_SALT\', "' . addslashes( LOGGED_IN_SALT ) . '");'; 169 169 170 170 if ( defined( 'SECURE_AUTH_SALT' ) ) 171 $file .= "\n" . 'define(\'BB_SECURE_AUTH_SALT\', "' . SECURE_AUTH_SALT. '");';171 $file .= "\n" . 'define(\'BB_SECURE_AUTH_SALT\', "' . addslashes( SECURE_AUTH_SALT ) . '");'; 172 172 173 173 $file .= "\n\n" . 'define(\'WP_AUTH_COOKIE_VERSION\', 2);';
Note: See TracChangeset
for help on using the changeset viewer.