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

@@ -99,7 +99,7 @@ class e_bbcode
$bbparam = (isset($matches[5])) ? $matches[5] : ''; $bbparam = (isset($matches[5])) ? $matches[5] : '';
$bbword = (isset($matches[2])) ? $matches[2] : ''; $bbword = (isset($matches[2])) ? $matches[2] : '';
if($cont[1] != '/') if($cont[1] != '/')
{ {
$bbstart = $cont; $bbstart = $cont;
$bbsep = varset($matches[4]); $bbsep = varset($matches[4]);
} }
@@ -269,7 +269,7 @@ class e_bbcode
{ // Find the file { // Find the file
if ($this->bbLocation[$code] == 'core') if ($this->bbLocation[$code] == 'core')
{ {
$bbFile = e_FILE.'bbcode/'.strtolower(str_replace('_', '', $code)).'.bb'; $bbFile = e_CORE.'bbcodes/'.strtolower(str_replace('_', '', $code)).'.bb';
} }
else else
{ // Add code to check for plugin bbcode addition { // 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[4] - bit between the tags (i.e. text to process)
// $matches[5] - closing tag // $matches[5] - closing tag
// In case we decide to load a file // 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 = ''; $bbcode = '';
$code_text = $matches[4]; $code_text = $matches[4];
$parm = $matches[3] ? substr($matches[3],1) : ''; $parm = $matches[3] ? substr($matches[3],1) : '';