projects
/
mailer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
933943c
)
Masking for more file names added
author
Roland Häder
<roland@mxchange.org>
Sat, 30 Aug 2008 20:46:17 +0000
(20:46 +0000)
committer
Roland Häder
<roland@mxchange.org>
Sat, 30 Aug 2008 20:46:17 +0000
(20:46 +0000)
inc/load_extensions.php
patch
|
blob
|
history
diff --git
a/inc/load_extensions.php
b/inc/load_extensions.php
index f1304aa28c4d4eef93b60abc33064d8ceb758a5d..ed0a69b5e1b6345c69ad9fab1f03fb838f2bc3bb 100644
(file)
--- 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
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
$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
// 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))
}
if (file_exists($file3) && is_readable($file3))
@@
-234,7
+234,7
@@
if ((SQL_NUMROWS($res_ext_crt) > 0) && (($cacheMode == "init") || ($cacheMode ==
if ($css == "Y")
{
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!)
if (file_exists($CSS_FILE))
{
// CSS file for extension was found (use only relative path for now!)