comparison msite.inc.php @ 9:fa9b66f596bb

More work on settings storage.
author Matti Hamalainen <ccr@tnsp.org>
date Thu, 06 Dec 2012 13:50:59 +0200
parents 4c5f651aa107
children 358534308c61
comparison
equal deleted inserted replaced
8:4c5f651aa107 9:fa9b66f596bb
1 <? 1 <?
2 // 2 //
3 // Nothing to touch after this, mostly 3 // FAPWEB - Demo Party Website System System
4 // (C) Copyright 2012 Matti 'ccr' Hamalainen <ccr@tnsp.org>
4 // 5 //
6
7 // Globals and definitions
5 $errorSet = FALSE; 8 $errorSet = FALSE;
6 $errorMsg = ""; 9 $errorMsg = "";
7
8 10
9 define("VT_STR", 1); 11 define("VT_STR", 1);
10 define("VT_INT", 2); 12 define("VT_INT", 2);
11 define("VT_BOOL", 3); 13 define("VT_BOOL", 3);
12 define("VT_TEXT", 4); 14 define("VT_TEXT", 4);
15
13 16
14 17
15 function stError($msg) 18 function stError($msg)
16 { 19 {
17 global $errorSet, $errorMsg; 20 global $errorSet, $errorMsg;