Mercurial > hg > fapweb
comparison admajax.js.php @ 1085:01783161eeb2
Fix usr and adm ajax and voting.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Wed, 25 Jan 2017 22:39:42 +0200 |
parents | f66f50bccbc7 |
children | 95b74632cfe2 |
comparison
equal
deleted
inserted
replaced
1084:e1cfbfb0b64a | 1085:01783161eeb2 |
---|---|
11 require_once "msession.inc.php"; | 11 require_once "msession.inc.php"; |
12 | 12 |
13 | 13 |
14 // Initiate SQL database connection | 14 // Initiate SQL database connection |
15 if (!stConnectSQLDB()) | 15 if (!stConnectSQLDB()) |
16 { | |
17 // Error occured, bail out early | |
18 cmPrintPageFooter(); | |
19 exit; | 16 exit; |
20 } | |
21 | 17 |
22 // Fetch non-"hardcoded" settings from SQL database | 18 // Fetch non-"hardcoded" settings from SQL database |
23 stReloadSettings(); | 19 stReloadSettings(); |
24 | 20 |
25 // Check if sessions are enabled | 21 // Check if sessions are enabled |