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:
parent
dc2c797c00
commit
deb662fb70
@ -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
|
||||
|
@ -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) : '';
|
||||
|
Loading…
x
Reference in New Issue
Block a user