1
0
mirror of https://github.com/e107inc/e107.git synced 2025-06-05 18:35:01 +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

@ -99,7 +99,7 @@ class e_bbcode
$bbparam = (isset($matches[5])) ? $matches[5] : '';
$bbword = (isset($matches[2])) ? $matches[2] : '';
if($cont[1] != '/')
{
{
$bbstart = $cont;
$bbsep = varset($matches[4]);
}
@ -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) : '';