summaryrefslogtreecommitdiff
path: root/public/bootstrap.php
blob: 40a32578165476950c39499d313c13bd6c0a7e98 (plain)
1
2
3
4
5
6
7
8
9
10
<?php
// path and include settings
$rootpath = str_replace(DIRECTORY_SEPARATOR . 'bootstrap.php', '', __FILE__);
define('ROOTPATH', $rootpath);

$includePath = ini_get('include_path');
$includePath .= PATH_SEPARATOR . ROOTPATH . DIRECTORY_SEPARATOR . '..';

ini_set('include_path', $includePath);
?>