Example #1
0
function initiate()
{
    include ABSPATH . 'applist.php';
    set_connection();
    // Start the Database Connection
    get_user_details();
    // Get the User Record from the DB
    load_applications($all_apps);
    // Load App List for the User
    initiate_email();
}
Example #2
0
function initiate()
{
    if (isset($_GET['fetch'])) {
        require_once ABSCPATH . 'modules/citizens/fetch.php';
    }
    //Fetch Initial User Data
    include ABSCPATH . 'applist.php';
    load_applications($all_apps);
    // Load App List for the User
    set_connection();
    // Start the Database Connection
    get_user_details();
    // Get the User Details
    initiate_email();
}