| | Mehdi Achour | | Gabor Hojtsy | | Sean Coates | +----------------------------------------------------------------------+ */ // get paths $GIT_DIR = getenv('PHPDOC_GIT_DIR'); if ($GIT_DIR == '') { die("Unable to find Git repositories, set `PHPDOC_GIT_DIR` environment variable!"); } $GIT_DIR .= (substr($GIT_DIR, -1) == '/' ? '' : '/'); define('GIT_DIR', $GIT_DIR); $SQLITE_DIR = getenv('SQLITE_DIR'); if ($SQLITE_DIR == '') { die("Don't know where to find SQLite database, set `SQLITE_DIR` enviromment variable!"); } $SQLITE_DIR .= (substr($SQLITE_DIR, -1) == '/' ? '' : '/'); define('SQLITE_DIR', $SQLITE_DIR); // Cache is considered stale after (seconds): define('CACHE_BUGS_COUNT', 300); // 300 = 5mins // project & language config require_once('lib_proj_lang.inc.php'); // general support library require_once('lib_general.inc.php');