X-Git-Url: https://git.p6c8.net/jirafeau_project.git/blobdiff_plain/041d7ce7940d63e8bf5edc7ef3d7bf9b1774d82e..6f8b5fe4757b151a042ea83adbce2eb6c218d104:/lib/functions.php?ds=inline diff --git a/lib/functions.php b/lib/functions.php index 50ab345..d844e50 100644 --- a/lib/functions.php +++ b/lib/functions.php @@ -128,6 +128,13 @@ function jirafeau_get_datetimefield($timestamp) return $content; } +function jirafeau_fatal_error($errorText, $cfg = array()) +{ + echo '

Error

' . $errorText . '

'; + require(JIRAFEAU_ROOT . 'lib/template/footer.php'); + exit; +} + function jirafeau_clean_rm_link($link) { $p = s2p("$link");