packages/ssoinabox-webui/root/usr/local/share/ssoinabox/htdocs/includes/starthere.php
changeset 8 f68fdcc18df9
parent 4 2212b2ded8bf
--- a/packages/ssoinabox-webui/root/usr/local/share/ssoinabox/htdocs/includes/starthere.php	Fri Jan 18 19:59:50 2013 -0500
+++ b/packages/ssoinabox-webui/root/usr/local/share/ssoinabox/htdocs/includes/starthere.php	Sat Feb 23 14:26:05 2013 -0500
@@ -7,9 +7,14 @@
 // define root directory
 define('ACCOUNTS', dirname(dirname(__FILE__)) . '/');
 
+// setup error handling policies
+ini_set('display_errors', 'on');
+error_reporting(E_ALL | E_STRICT | E_DEPRECATED);
+
 // include required files
 require_once(ACCOUNTS . 'includes/functions.php');
 load_credentials();
+require_once(ACCOUNTS . 'includes/db.php');
 require_once(ACCOUNTS . 'includes/smarty/Smarty.class.php');
 require_once(ACCOUNTS . 'includes/template-wrapper.php');
 require_once(ACCOUNTS . 'includes/ldap.php');