<?
/**
* Global function for weblication
* @author Andreas Altendorfer <andreas@altendorfer.at>
* @date 2003-12-06
*/
function Fatal( $err ) {
die( "<hr><center>FATAL</center><hr>" . $err . "<hr>\n" );
}
function Append( &$rc, $append ) {
return( $rc .= $append );
}
function Remark( $msg ) {
global $cfg;
if ( false == $cfg["remarks"] ) {
return("");
}
$rc = $cfg["remark_init"] .
$msg .
$cfg["remark_close"];
return( $rc );
}
function Error( $msg ) {
global $cfg;
if ( false == $cfg["errors"] ) {
return("");
}
$rc = $cfg["error_init"] .
$msg .
$cfg["error_close"];
return( $rc );
}
?>
|