comparison index.php @ 175:8df523e6326a

User require_once instead of require.
author Matti Hamalainen <ccr@tnsp.org>
date Wed, 06 Nov 2013 10:27:57 +0200
parents 63c840590476
children a4be19c4d99d
comparison
equal deleted inserted replaced
174:63c840590476 175:8df523e6326a
2 // 2 //
3 // FAPWeb Simple Demoparty System 3 // FAPWeb Simple Demoparty System
4 // Main HTML page wrapper 4 // Main HTML page wrapper
5 // (C) Copyright 2012-2013 Tecnic Software productions (TNSP) 5 // (C) Copyright 2012-2013 Tecnic Software productions (TNSP)
6 // 6 //
7 require "mconfig.inc.php"; 7 require_once "mconfig.inc.php";
8 require "msite.inc.php"; 8 require_once "msite.inc.php";
9 require "msession.inc.php"; 9 require_once "msession.inc.php";
10 10
11 cmLocaleInit(); 11 cmLocaleInit();
12 12
13 // Switch to https first, if needed 13 // Switch to https first, if needed
14 if (!stCheckHTTPS() && isset($_SERVER["REQUEST_URI"]) && 14 if (!stCheckHTTPS() && isset($_SERVER["REQUEST_URI"]) &&