projects
/
mailer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
d960730
)
More fixes for JS bug
author
Roland Häder
<roland@mxchange.org>
Tue, 26 Aug 2008 13:45:07 +0000
(13:45 +0000)
committer
Roland Häder
<roland@mxchange.org>
Tue, 26 Aug 2008 13:45:07 +0000
(13:45 +0000)
inc/functions.php
patch
|
blob
|
history
diff --git
a/inc/functions.php
b/inc/functions.php
index 56d8a184117263c2e6c825eeaa467b27bc550bcb..f2806f6b648279ee09bbe01fa3165063fd4b8e6b 100644
(file)
--- a/
inc/functions.php
+++ b/
inc/functions.php
@@
-163,16
+163,14
@@
function OUTPUT_HTML($HTML, $NEW_LINE = true) {
// Output the raw HTML code
function OUTPUT_RAW ($HTML) {
// Output the raw HTML code
function OUTPUT_RAW ($HTML) {
- if ((isBooleanConstantAndTrue('mxchange_installed')) && (basename($_SERVER['PHP_SELF']) != "install.php")) {
- // Not in install-mode so strip slashes away
- echo stripslashes($HTML);
- } else {
- // Output directly in install-mode
- echo $HTML;
- }
+ // Output stripped HTML code to avoid broken JavaScript code, etc.
+ echo stripslashes($HTML);
- // Flush the output
- flush();
+ // Flush the output if only _OB_CACHING is not "on"
+ if (_OB_CACHING != "on") {
+ // Flush it
+ flush();
+ }
}
// Add a fatal error message to the queue array
}
// Add a fatal error message to the queue array