1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-16 19:44:09 +02:00

Shortcode path fixes

This commit is contained in:
CaMer0n
2010-02-10 21:53:56 +00:00
parent 2d835f43d0
commit caa79b6454
18 changed files with 685 additions and 683 deletions

View File

@@ -80,14 +80,14 @@ function display_help($tagid="helpb", $mode = 1, $addtextfunc = "addtext", $help
$BBCODE_TEMPLATE = $temp[$mode];
}
if(is_readable(e_FILE."shortcode/batch/bbcode_shortcodes.php"))
if(is_readable(e_CORE."shortcodes/batch/bbcode_shortcodes.php"))
{
require_once(e_FILE."shortcode/batch/bbcode_shortcodes.php");
require_once(e_CORE."shortcodes/batch/bbcode_shortcodes.php");
return $tp->parseTemplate($BBCODE_TEMPLATE);
}
else
{
return "ERROR: ".e_FILE."shortcode/batch/bbcode_shortcodes.php IS NOT READABLE.";
return "ERROR: ".e_CORE."shortcodes/batch/bbcode_shortcodes.php IS NOT READABLE.";
}
}
@@ -230,7 +230,7 @@ function PreImage_Select($formid) {
// Parameter '$bbcode_filedir' removed - not used in code.
function PreFile_Select($formid='prefile_selector')
function PreFile_Select($formid='prefile_selector')
{
require_once(e_HANDLER."userclass_class.php");
global $IMAGES_DIRECTORY, $fl;