From 9daf4133bf6f61cbe3787a46b021d261242a85f0 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Sat, 19 May 2007 08:34:02 +0100 Subject: add tagwall --- tw/error/FOO_error.php | 43 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 43 insertions(+) create mode 100644 tw/error/FOO_error.php (limited to 'tw/error/FOO_error.php') diff --git a/tw/error/FOO_error.php b/tw/error/FOO_error.php new file mode 100644 index 000000000..3924768ee --- /dev/null +++ b/tw/error/FOO_error.php @@ -0,0 +1,43 @@ +TW_errors($options); + } + + function add($errval, $position, $show_code, $param1=null, $param2=null ) + { + $this->ErrorArray["TW_err_".$this->identifier++] = array($errval, $param1, $param2, $position, $show_code); + if($errval & 0xff00) $this->IsError = 1; + return null; + } +} +?> \ No newline at end of file -- cgit v1.2.3-54-g00ecf