From d8543707426d6a4645c270929f999df8209bb587 Mon Sep 17 00:00:00 2001 From: cflem Date: Sun, 1 Jan 2017 19:32:37 -0700 Subject: Added inc/config.php to the gitignore, opting for a sample version instead --- inc/functions.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'inc/functions.php') diff --git a/inc/functions.php b/inc/functions.php index 4e98342..4793d3d 100644 --- a/inc/functions.php +++ b/inc/functions.php @@ -36,7 +36,7 @@ function tpl ($options, $file) { return $tpl_htm; } -function fatal ($msg, $link, $label) { +function fatal ($msg = null, $link = null, $label = null) { if ($link === null) $link = 'javascript:history.go(-1);'; if ($label === null) $label = '← Got It'; die(tpl(array('message' => $msg, 'link' => $link, 'label' => $label), 'fatal.tpl')); -- cgit v1.2.3