From c000c18ac172685f108a850346467e94f35fc0d4 Mon Sep 17 00:00:00 2001 From: geekwright Date: Fri, 18 Oct 2013 13:40:01 -0500 Subject: [PATCH] Add explicit exit so we don't terminate randomly on some fatal error. --- htdocs/mainfile.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/htdocs/mainfile.php b/htdocs/mainfile.php index 8f90e003..dad379a7 100644 --- a/htdocs/mainfile.php +++ b/htdocs/mainfile.php @@ -14,9 +14,9 @@ * * @copyright The XOOPS Project http://sourceforge.net/projects/xoops/ * @license GNU GPL 2 (http://www.gnu.org/licenses/old-licenses/gpl-2.0.html) - * @version $Id$ */ if (! defined('XOOPS_INSTALL')) { header('Location: install/index.php'); -} \ No newline at end of file + exit; +}