<?php

define("MYSQLI_SERVER", "localhost");
define("MYSQLI_USER", "eyeofmidasuser");
define("MYSQLI_PASS", "eyeofmidaspass");
define("MYSQLI_DB", "eyeofmidasdb");

/* --------- Do not edit below this line --------- */
define("ROOT", dirname(__FILE__));
define("LIBROOT", ROOT . "/lib/");
define("VIEWROOT", ROOT . "/views/");


function midasblog_autoload($class) {
    $fullFile = LIBROOT . $class . ".inc";
    if (file_exists($fullFile)) {
        require_once($fullFile);
    }
}

spl_autoload_register("midasblog_autoload");

