summaryrefslogtreecommitdiffstats
path: root/application/errors/error_general.php
blob: 333b21fd0697b1704a28acbbc9378050cca0e826 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
<?php

if (is_cli_client()) {
	echo $heading."\n";
	echo $message."\n";
	exit();
}

$title = "Error";
$is_error_page = true;

include 'application/views/file/header.php';

?>
	<div class="error">
		<h1><?php echo $heading; ?></h1>
		<?php echo $message; ?>
	</div>

<?php
include 'application/views/file/footer.php';