projects
/
mailer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
4c83f0c
)
Debug code commented out
author
Roland Häder
<roland@mxchange.org>
Sun, 1 Mar 2009 01:51:28 +0000
(
01:51
+0000)
committer
Roland Häder
<roland@mxchange.org>
Sun, 1 Mar 2009 01:51:28 +0000
(
01:51
+0000)
inc/functions.php
patch
|
blob
|
history
diff --git
a/inc/functions.php
b/inc/functions.php
index
fded480
..
a930b87
100644
(file)
--- a/
inc/functions.php
+++ b/
inc/functions.php
@@
-141,7
+141,7
@@
function OUTPUT_HTML ($HTML, $newLine = true) {
while (strpos($OUTPUT, '{!') > 0) {
// Prepare the content and eval() it...
$newContent = "";
while (strpos($OUTPUT, '{!') > 0) {
// Prepare the content and eval() it...
$newContent = "";
- $eval = "\$newContent = \"".COMPILE_CODE(smartAddSlashes($OUTPUT
, false, false
))."\";";
+ $eval = "\$newContent = \"".COMPILE_CODE(smartAddSlashes($OUTPUT))."\";";
eval($eval);
// Was that eval okay?
eval($eval);
// Was that eval okay?
@@
-162,7
+162,7
@@
function OUTPUT_HTML ($HTML, $newLine = true) {
// Compile and run finished rendered HTML code
while (strpos($OUTPUT, '{!') > 0) {
// Compile and run finished rendered HTML code
while (strpos($OUTPUT, '{!') > 0) {
- $eval = "\$OUTPUT = \"".COMPILE_CODE(smartAddSlashes($OUTPUT
, false, false
))."\";";
+ $eval = "\$OUTPUT = \"".COMPILE_CODE(smartAddSlashes($OUTPUT))."\";";
eval($eval);
} // END - while
eval($eval);
} // END - while
@@
-924,7
+924,7
@@
function LOAD_URL ($URL, $addUrlData=true) {
}
// Get output buffer
}
// Get output buffer
- /* DEBUG: */ debug_report_bug(sprintf("%s[%s:] URL=%s", __FUNCTION__, __LINE__, $URL));
+ /
/
* DEBUG: */ debug_report_bug(sprintf("%s[%s:] URL=%s", __FUNCTION__, __LINE__, $URL));
$OUTPUT = ob_get_contents();
// Clear it only if there is content
$OUTPUT = ob_get_contents();
// Clear it only if there is content