Changeset 11451

Show
Ignore:
Timestamp:
02/18/11 16:26:03 (2 years ago)
Author:
p_lindheimer
Message:

looks like I need more of the help functions for 2.9 upgrade process

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • modules/branches/2.9/framework/install.php

    r11446 r11451  
    2121  function outn($text) { 
    2222    echo $text; 
     23  } 
     24} 
     25 
     26if (! function_exists('error')) { 
     27  function error($text) { 
     28    echo "[ERROR] ".$text."<br>"; 
     29  } 
     30} 
     31 
     32if (! function_exists('fatal')) { 
     33  function fatal($text) { 
     34    echo "[FATAL] ".$text."<br>"; 
     35    exit(1); 
     36  } 
     37} 
     38 
     39if (! function_exists('debug')) { 
     40  function debug($text) { 
     41    global $debug; 
     42     
     43    if ($debug) echo "[DEBUG-preDB] ".$text."<br>"; 
    2344  } 
    2445}