Ticket #837: 837.diff
| File 837.diff, 848 bytes (added by mdawaffe, 4 years ago) |
|---|
-
bb-settings.php
75 75 require( BB_PATH . BB_INC . 'classes.php'); 76 76 if ( !defined('BB_LANG') && defined('BBLANG') && '' != BBLANG ) // User has set old constant 77 77 define('BB_LANG', BBLANG); 78 if ( defined('BB_LANG') && '' != BB_LANG ) {79 include_once(BB_PATH . BB_INC . 'streams.php');80 include_once(BB_PATH . BB_INC . 'gettext.php');81 }82 78 if ( !( defined('DB_NAME') || defined('WP_BB') && WP_BB ) ) { // Don't include these when WP is running. 79 if ( defined('BB_LANG') && '' != BB_LANG ) { 80 include_once(BB_PATH . BB_INC . 'streams.php'); 81 include_once(BB_PATH . BB_INC . 'gettext.php'); 82 } 83 83 require( BB_PATH . BB_INC . 'kses.php'); 84 84 require( BB_PATH . BB_INC . 'l10n.php'); 85 85 }