m1k1oblog/common.php
Miroslav Šedivý c1e7368066 Initial Release
2016-12-27 21:25:32 +01:00

13 lines
No EOL
301 B
PHP

<?php
// Define PROJECT PATH
define('PROJECT_PATH', dirname(__FILE__));
// Load Autoloader
require "lib/splclassloader.class.php";
$classLoader = new SplClassLoader(null, PROJECT_PATH.'/lib');
$classLoader->setFileExtension('.class.php');
$classLoader->register();
// Start session
session_start();