17 lines
456 B
PHP
17 lines
456 B
PHP
<?php
|
|
|
|
ini_set('display_errors', 1);
|
|
ini_set('display_startup_errors', 1);
|
|
error_reporting(E_ALL & ~E_NOTICE );
|
|
$cfg = include('accred_config.php');
|
|
//
|
|
// Load the auth module, this will redirect us to login if we aren't already logged in.
|
|
include '../inc/auth.php';
|
|
$Auth = new modAuth();
|
|
|
|
// We get here if authenticated
|
|
// If we are logged-in, redirect to the list page.
|
|
header("location: accred_list");
|
|
die();
|
|
//
|