Changeset 5544
- Timestamp:
- 12/19/07 17:18:10 (5 years ago)
- Files:
-
- modules/branches/2.4/framework/install.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
modules/branches/2.4/framework/install.php
r4526 r5544 87 87 } 88 88 89 function out($text) { 90 echo $text."<br>"; 89 if (! function_exists("out")) { 90 function out($text) { 91 echo $text."<br>"; 92 } 91 93 } 92 94 93 function outn($text) { 94 echo $text; 95 if (! function_exists("outn")) { 96 function outn($text) { 97 echo $text; 98 } 95 99 } 96 100 97 function error($text) { 98 echo "[ERROR] ".$text."<br>"; 101 if (! function_exists("error")) { 102 function error($text) { 103 echo "[ERROR] ".$text."<br>"; 104 } 99 105 } 100 106 101 function fatal($text) { 102 echo "[FATAL] ".$text."<br>"; 103 exit(1); 107 if (! function_exists("fatal")) { 108 function fatal($text) { 109 echo "[FATAL] ".$text."<br>"; 110 exit(1); 111 } 104 112 } 105 113 106 function debug($text) { 107 global $debug; 108 109 if ($debug) echo "[DEBUG-preDB] ".$text."<br>"; 114 if (! function_exists("debug")) { 115 function debug($text) { 116 global $debug; 117 118 if ($debug) echo "[DEBUG-preDB] ".$text."<br>"; 119 } 110 120 } 111 121 ?>
