bootstrap.php 544 B

123456789101112131415
  1. <?php
  2. require(dirname(__FILE__) . '/../include/AutoLoader.class.php');
  3. spl_autoload_register(array('GitPHP_AutoLoader', 'AutoLoad'));
  4. define('GITPHP_BASEDIR', dirname(__FILE__) . '/../');
  5. define('GITPHP_CACHEDIR', GITPHP_BASEDIR . 'cache/');
  6. define('GITPHP_COMPRESS_TAR', 'tar');
  7. define('GITPHP_COMPRESS_BZ2', 'tbz2');
  8. define('GITPHP_COMPRESS_GZ', 'tgz');
  9. define('GITPHP_COMPRESS_ZIP', 'zip');
  10. define('GITPHP_TEST_RESOURCES', dirname(__FILE__) . '/resources');
  11. define('GITPHP_TEST_PROJECTROOT', GITPHP_TEST_RESOURCES . '/testprojectroot');