projects
/
mailer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
8a68548
)
sql_patches will never have language/function includes...
author
Roland Häder
<roland@mxchange.org>
Sat, 6 Jun 2009 21:14:51 +0000
(21:14 +0000)
committer
Roland Häder
<roland@mxchange.org>
Sat, 6 Jun 2009 21:14:51 +0000
(21:14 +0000)
inc/extensions.php
patch
|
blob
|
history
diff --git
a/inc/extensions.php
b/inc/extensions.php
index 790c42639f72b2f72220788f10e6d85698508514..765d1d8100b7c582068f4ca8445f558c1737eeeb 100644
(file)
--- a/
inc/extensions.php
+++ b/
inc/extensions.php
@@
-88,7
+88,7
@@
function LOAD_EXTENSION ($ext_name, $EXT_LOAD_MODE = '', $EXT_VER = '', $dry_run
//* DEBUG: */ DEBUG_LOG(__FUNCTION__, __LINE__, "--- Language loaded.");
$GLOBALS['ext_loaded']['lang'][$ext_name] = true;
loadIncludeOnce($langInclude);
//* DEBUG: */ DEBUG_LOG(__FUNCTION__, __LINE__, "--- Language loaded.");
$GLOBALS['ext_loaded']['lang'][$ext_name] = true;
loadIncludeOnce($langInclude);
- } else {
+ } else
if ($ext_name != 'sql_patches')
{
// No language file is not so good...
DEBUG_LOG(__FUNCTION__, __LINE__, sprintf("WARNING: Extension %s has no language file or we cannot read from it. lang=%s",
$ext_name, getLanguage()
// No language file is not so good...
DEBUG_LOG(__FUNCTION__, __LINE__, sprintf("WARNING: Extension %s has no language file or we cannot read from it. lang=%s",
$ext_name, getLanguage()
@@
-104,7
+104,7
@@
function LOAD_EXTENSION ($ext_name, $EXT_LOAD_MODE = '', $EXT_VER = '', $dry_run
//* DEBUG: */ DEBUG_LOG(__FUNCTION__, __LINE__, "--- Functions loaded.");
$GLOBALS['ext_loaded']['funcs'][$ext_name] = true;
loadIncludeOnce($funcsInclude);
//* DEBUG: */ DEBUG_LOG(__FUNCTION__, __LINE__, "--- Functions loaded.");
$GLOBALS['ext_loaded']['funcs'][$ext_name] = true;
loadIncludeOnce($funcsInclude);
- } else {
+ } else
if ($ext_name != 'sql_patches')
{
// No functions file is not so good...
DEBUG_LOG(__FUNCTION__, __LINE__, sprintf("WARNING: Extension %s has no own functions file or we cannot read from it.",
$ext_name
// No functions file is not so good...
DEBUG_LOG(__FUNCTION__, __LINE__, sprintf("WARNING: Extension %s has no own functions file or we cannot read from it.",
$ext_name