Skip to content
Snippets Groups Projects
Commit 0bd681df authored by tbrehm's avatar tbrehm
Browse files

Error message integrated

parent e7ea7dcf
No related branches found
No related tags found
Loading
......@@ -110,11 +110,12 @@ class app {
2 = ERROR
*/
function error($msg, $priority = 2) {
function error($msg, $next_link = '', $stop = true, $priority = 1) {
//$this->uses("error");
//$this->error->message($msg, $priority);
echo $msg;
if($priority == 2) exit;
if($next_link != "") echo "<a href='$next_link'>Next</a>";
if($stop == true) die();
}
function lng($text)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment