php-mpos/public/include/pages/error.inc.php
Sebastian Grewe 13c06715fc [IMPROVED] Adding customizable error page to MPOS
* `.htaccess` is used to re-define the error documents
* redirects to `index.php?page=error&action=<code>`
* does not work for MPOS inside subfolders yet

Addresses #734. If this works we can add this to all the other themes.
2013-10-19 09:16:57 +02:00

10 lines
172 B
PHP

<?php
// Make sure we are called from index.php
if (!defined('SECURITY'))
die('Hacking attempt');
// Tempalte specifics
$smarty->assign("CONTENT", "default.tpl");
?>