summaryrefslogtreecommitdiff
path: root/public/bootstrap.php
blob: 1bc479236428b37195984d5829b953889ee4c460 (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);
?>