From: Roland Häder Date: Sat, 30 Aug 2008 20:46:17 +0000 (+0000) Subject: Masking for more file names added X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=82dcf972777053767f82154d7d89700f9ba55736;p=mailer.git Masking for more file names added --- diff --git a/inc/load_extensions.php b/inc/load_extensions.php index f1304aa28c..ed0a69b5e1 100644 --- a/inc/load_extensions.php +++ b/inc/load_extensions.php @@ -180,7 +180,7 @@ if ((SQL_NUMROWS($res_ext_crt) > 0) && (($cacheMode == "init") || ($cacheMode == if (empty($menu)) $menu = "N"; // Load extensions - $file1 = sprintf(PATH."inc/extensions/ext-%s.php", $name); + $file1 = sprintf("%sinc/extensions/ext-%s.php", PATH, $name); $file2 = $file1; $EXT_CSS = "N"; $EXT_ALWAYS_ACTIVE = "N"; // Special functions file @@ -192,7 +192,7 @@ if ((SQL_NUMROWS($res_ext_crt) > 0) && (($cacheMode == "init") || ($cacheMode == // If there's no language file specified we don't need to load one... ;-) if (!empty($lang)) { // Create language file - $file2 = sprintf(PATH."inc/language/%s_%s.php", $lang, GET_LANGUAGE()); + $file2 = sprintf("%sinc/language/%s_%s.php", PATH, $lang, GET_LANGUAGE()); } if (file_exists($file3) && is_readable($file3)) @@ -234,7 +234,7 @@ if ((SQL_NUMROWS($res_ext_crt) > 0) && (($cacheMode == "init") || ($cacheMode == if ($css == "Y") { - $CSS_FILE = PATH."theme/".GET_CURR_THEME()."/css/".$name.".css"; + $CSS_FILE = sprintf("%stheme/%s/css/%s.css", PATH, GET_CURR_THEME(), $name); if (file_exists($CSS_FILE)) { // CSS file for extension was found (use only relative path for now!)