# This patch file was generated by NetBeans IDE
# Following Index: paths are relative to: /Users/Francesco/NetBeansProjects/bp-branch-1.2/1.2/bp-forums
# This patch can be applied using context Tools: Patch action on respective folder.
# It uses platform neutral UTF-8 encoding and \n newlines.
# Above lines and this line are ignored by the patching process.
|
|
|
153 | 153 | } |
154 | 154 | |
155 | 155 | $file = substr( $file, 0, -2 ); |
156 | | $file .= "\n" . '$bb->custom_user_table = "' . $wpdb->users . '";'; |
157 | | $file .= "\n" . '$bb->custom_user_meta_table = "' . $wpdb->usermeta . '";'; |
158 | | $file .= "\n\n" . '$bb->uri = "' . BP_PLUGIN_URL . '/bp-forums/bbpress/";'; |
159 | | $file .= "\n" . '$bb->name = "' . get_blog_option( BP_ROOT_BLOG, 'name' ) . ' ' . __( 'Forums', 'buddypress' ) . '";'; |
| 156 | $file .= "\n" . '$bb->custom_user_table = \'' . $wpdb->users . '\';'; |
| 157 | $file .= "\n" . '$bb->custom_user_meta_table = \'' . $wpdb->usermeta . '\';'; |
| 158 | $file .= "\n\n" . '$bb->uri = \'' . BP_PLUGIN_URL . '/bp-forums/bbpress/\';'; |
| 159 | $file .= "\n" . '$bb->name = \'' . get_blog_option( BP_ROOT_BLOG, 'name' ) . ' ' . __( 'Forums', 'buddypress' ) . '\';'; |
160 | 160 | |
161 | 161 | if ( bp_core_is_multisite() ) |
162 | 162 | $file .= "\n" . '$bb->wordpress_mu_primary_blog_id = ' . BP_ROOT_BLOG . ';'; |
163 | 163 | |
164 | 164 | if ( defined( 'AUTH_SALT' ) ) |
165 | | $file .= "\n\n" . 'define(\'BB_AUTH_SALT\', "' . addslashes( 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\', "' . addslashes( 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\', "' . addslashes( SECURE_AUTH_SALT ) . '");'; |
172 | | No newline at end of file |
| 171 | $file .= "\n" . 'define(\'BB_SECURE_AUTH_SALT\', \'' . addslashes( SECURE_AUTH_SALT ) . '\');'; |
| 172 | No newline at end of file |
173 | 173 | |
174 | 174 | $file .= "\n\n" . 'define(\'WP_AUTH_COOKIE_VERSION\', 2);'; |