config.inc.sample 554 B

12345678910111213141516171819202122
  1. <?php
  2. define("MYSQLI_SERVER", "localhost");
  3. define("MYSQLI_USER", "eyeofmidasuser");
  4. define("MYSQLI_PASS", "eyeofmidaspass");
  5. define("MYSQLI_DB", "eyeofmidasdb");
  6. /* --------- Do not edit below this line --------- */
  7. define("ROOT", dirname(__FILE__));
  8. define("LIBROOT", ROOT . "/lib/");
  9. define("VIEWROOT", ROOT . "/views/");
  10. function midasblog_autoload($class) {
  11. $fullFile = LIBROOT . $class . ".inc";
  12. if (file_exists($fullFile)) {
  13. require_once($fullFile);
  14. }
  15. }
  16. spl_autoload_register("midasblog_autoload");