mirror of
https://github.com/e107inc/e107.git
synced 2025-07-31 20:00:37 +02:00
bbcode path move
This commit is contained in:
@@ -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
|
||||||
|
@@ -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) : '';
|
||||||
|
Reference in New Issue
Block a user