Skip to content
Snippets Groups Projects
Forked from Sibidharan / Photogram Project
64 commits behind the upstream repository.
load.php 403 B
<?php

include_once 'includes/Mic.class.php';
include_once 'includes/Database.class.php';

function load_template($name)
{
    include $_SERVER['DOCUMENT_ROOT']."/app/_templates/$name.php"; //not consistant.
}

function validate_credentials($username, $password)
{
    if ($username == "sibi@selfmade.ninja" and $password == "password") {
        return true;
    } else {
        return false;
    }
}