blob: a3cf00a642f0d1d004a621ae4883ed6b5c45e7ba (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
<?php
set_include_path(dirname(__DIR__) . '/src/' . DIRECTORY_SEPARATOR . get_include_path());
$loader = require_once(dirname(__DIR__) . "/vendor/autoload.php");
$loader->setUseIncludePath(true);
session_start();
if (!file_exists(__DIR__ . '/config.php')) {
echo "Please configure the demo. Copy config.orig.php to config.php and fill in the settings.";
exit();
}
require_once __DIR__ . '/config.php'; // Excluded from GIT
|