From deb662fb705671396a614c0f929dee9513457f95 Mon Sep 17 00:00:00 2001 From: CaMer0n Date: Wed, 10 Feb 2010 07:46:35 +0000 Subject: [PATCH] bbcode path move --- e107_handlers/bbcode_handler.php | 4 ++-- e107_handlers/e_parse_class.php | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/e107_handlers/bbcode_handler.php b/e107_handlers/bbcode_handler.php index 3d8f38cb9..770560e17 100644 --- a/e107_handlers/bbcode_handler.php +++ b/e107_handlers/bbcode_handler.php @@ -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 diff --git a/e107_handlers/e_parse_class.php b/e107_handlers/e_parse_class.php index 9c2becf18..33d70a990 100644 --- a/e107_handlers/e_parse_class.php +++ b/e107_handlers/e_parse_class.php @@ -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) : '';