Исправление подключение локального конфига.

This commit is contained in:
Exile 2014-09-25 16:21:55 +04:00
commit 7eaa4f3b8d
2 changed files with 3 additions and 3 deletions

View file

@ -623,9 +623,9 @@ $bb_cfg['nofollow'] = array(
);
// Local config
if (file_exists('config.local.php'))
if (file_exists(BB_ROOT. '/library/config.local.php'))
{
include_once('config.local.php');
include_once(BB_ROOT. '/library/config.local.php');
}
define('BB_CFG_LOADED', true);

View file

@ -73,7 +73,7 @@
</tr>
<tr>
<td class="row1" width="80%">{L_ATTACH_TOPIC_ICON}<br /><span class="small">{L_ATTACH_TOPIC_ICON_EXPLAIN}</span></td>
<td class="row2"><input type="text" size="25" maxlength="100" name="topic_icon" class="post" value="{TOPIC_ICON}" readonly="readonly" /></td>
<td class="row2"><input type="text" size="25" maxlength="100" name="topic_icon" class="post" value="{TOPIC_ICON}" /></td>
</tr>
<tr>
<td class="row1" width="80%">{L_ATTACH_DISPLAY_ORDER}<br /><span class="small">{L_ATTACH_DISPLAY_ORDER_EXPLAIN}</span></td>