commit f413b7eb505a7bce4a4c5bb6298381268f35e798 parent 5df7b73a6727ef1beb96cd23ebb37d264b6005c0 Author: ByteProject <stefan.vogt@byteproject.net> Date: Wed, 28 Dec 2011 07:39:11 +0100 wiped PHP related functions for error handling and message logging Diffstat:
M | ansilove/ansilove.c | | | 26 | -------------------------- |
1 file changed, 0 insertions(+), 26 deletions(-)
diff --git a/ansilove/ansilove.c b/ansilove/ansilove.c @@ -16,32 +16,6 @@ #endif ///*****************************************************************************/ -///* ERROR HANDLING AND MESSAGE LOGGER */ -///*****************************************************************************/ -// -//function write_log($message) -//{ -// if (($file = @fopen (ANSILOVE_LOG_FILE, a))==FALSE) -// { -// echo "ERROR: Can't create log file."; -// exit(-1); -// } -// -// $string = date("[Y-m-d] - H:i:s")." - $message\n"; -// -// fputs ($file,$string); -// fclose ($file); -//} -// -//function error($message) -//{ -// trim($message); -// echo("ERROR: ".$message."\n\n"); -// write_log($message); -// exit(-1); -//} -// -///*****************************************************************************/ ///* LOAD CONFIGURATION FILE */ ///*****************************************************************************/ //