packages/ssoinabox-webui/root/usr/local/share/ssoinabox/htdocs/includes/starthere.php
changeset 8 f68fdcc18df9
parent 4 2212b2ded8bf
equal deleted inserted replaced
5:cdd708efa505 8:f68fdcc18df9
     5 	$_SERVER['REMOTE_USER'] =& $_SERVER['REDIRECT_REMOTE_USER'];
     5 	$_SERVER['REMOTE_USER'] =& $_SERVER['REDIRECT_REMOTE_USER'];
     6 
     6 
     7 // define root directory
     7 // define root directory
     8 define('ACCOUNTS', dirname(dirname(__FILE__)) . '/');
     8 define('ACCOUNTS', dirname(dirname(__FILE__)) . '/');
     9 
     9 
       
    10 // setup error handling policies
       
    11 ini_set('display_errors', 'on');
       
    12 error_reporting(E_ALL | E_STRICT | E_DEPRECATED);
       
    13 
    10 // include required files
    14 // include required files
    11 require_once(ACCOUNTS . 'includes/functions.php');
    15 require_once(ACCOUNTS . 'includes/functions.php');
    12 load_credentials();
    16 load_credentials();
       
    17 require_once(ACCOUNTS . 'includes/db.php');
    13 require_once(ACCOUNTS . 'includes/smarty/Smarty.class.php');
    18 require_once(ACCOUNTS . 'includes/smarty/Smarty.class.php');
    14 require_once(ACCOUNTS . 'includes/template-wrapper.php');
    19 require_once(ACCOUNTS . 'includes/template-wrapper.php');
    15 require_once(ACCOUNTS . 'includes/ldap.php');
    20 require_once(ACCOUNTS . 'includes/ldap.php');
    16 require_once(ACCOUNTS . 'includes/kadm5.php');
    21 require_once(ACCOUNTS . 'includes/kadm5.php');
    17 require_once(ACCOUNTS . 'includes/users.php');
    22 require_once(ACCOUNTS . 'includes/users.php');