diff usrlogin.php @ 156:fa7f3defffd0

Comments.
author Matti Hamalainen <ccr@tnsp.org>
date Fri, 25 Oct 2013 16:12:05 +0300
parents 5b92f130ba87
children 8df523e6326a
line wrap: on
line diff
--- a/usrlogin.php	Fri Oct 25 16:11:49 2013 +0300
+++ b/usrlogin.php	Fri Oct 25 16:12:05 2013 +0300
@@ -9,16 +9,20 @@
 require "msite.inc.php";
 require "msession.inc.php";
 
+//
+// Initialize
+//
 stSetupCacheControl();
 
-// Initiate SQL database connection
 if (!stConnectSQLDB())
   die("Could not connect to SQL database.");
 
-// Fetch non-"hardcoded" settings from SQL database
 stReloadSettings();
 
 
+//
+// Authenticate
+//
 $gotoPage = stGetRequestItem("goto", FALSE);
 $password = stGetRequestItem("key", FALSE);