1
0
mirror of https://github.com/e107inc/e107.git synced 2025-07-31 03:40:37 +02:00

bbcode path move

This commit is contained in:
CaMer0n
2010-02-10 07:46:35 +00:00
parent dc2c797c00
commit deb662fb70
2 changed files with 3 additions and 3 deletions

View File

@@ -269,7 +269,7 @@ class e_bbcode
{ // Find the file
if ($this->bbLocation[$code] == 'core')
{
$bbFile = e_FILE.'bbcode/'.strtolower(str_replace('_', '', $code)).'.bb';
$bbFile = e_CORE.'bbcodes/'.strtolower(str_replace('_', '', $code)).'.bb';
}
else
{ // Add code to check for plugin bbcode addition

View File

@@ -1222,7 +1222,7 @@ class e_parse
// $matches[4] - bit between the tags (i.e. text to process)
// $matches[5] - closing tag
// In case we decide to load a file
$bbFile = e_FILE.'bbcode/'.strtolower(str_replace('_', '', $matches[2])).'.bb';
$bbFile = e_CORE.'bbcodes/'.strtolower(str_replace('_', '', $matches[2])).'.bb';
$bbcode = '';
$code_text = $matches[4];
$parm = $matches[3] ? substr($matches[3],1) : '';