Ticket #1139: class.bb-install.php.diff
| File class.bb-install.php.diff, 885 bytes (added by GautamGupta, 2 years ago) |
|---|
-
class.bb-install.php
2144 2144 2145 2145 if ( defined( 'BB_PLUGIN_DIR' ) && BB_PLUGIN_DIR && !file_exists( BB_PLUGIN_DIR ) ) { 2146 2146 // Just suppress errors as this is not critical 2147 if ( @mkdir( BB_PLUGIN_DIR, 075 0) ) {2147 if ( @mkdir( BB_PLUGIN_DIR, 0755 ) ) { 2148 2148 $installation_log[] = '>>> ' . sprintf( __( 'Making plugin directory at %s.' ), BB_PLUGIN_DIR ); 2149 2149 } 2150 2150 } 2151 2151 2152 2152 if ( defined( 'BB_THEME_DIR' ) && BB_THEME_DIR && !file_exists( BB_THEME_DIR ) ) { 2153 2153 // Just suppress errors as this is not critical 2154 if ( @mkdir( BB_THEME_DIR, 075 0) ) {2154 if ( @mkdir( BB_THEME_DIR, 0755 ) ) { 2155 2155 $installation_log[] = '>>> ' . sprintf( __( 'Making theme directory at %s.' ), BB_THEME_DIR ); 2156 2156 } 2157 2157 }