gitphp.conf.php.example 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. <?php
  2. /**
  3. * GitPHP Config file
  4. *
  5. * Copy this example file to config/gitphp.conf.php
  6. *
  7. * @author Christopher Han <xiphux@gmail.com>
  8. * @copyright Copyright (c) 2010 Christopher Han
  9. * @package GitPHP
  10. * @subpackage Config
  11. */
  12. /*
  13. * projectroot
  14. * Full directory on server where projects are located
  15. */
  16. //$gitphp_conf['projectroot'] = '/pub/gitprojects/';
  17. /*
  18. * cache
  19. * Turns on template caching. If in doubt, leave it off
  20. * You will need to create a directory 'cache' and make it
  21. * writable by the server
  22. */
  23. //$gitphp_conf['cache'] = true;
  24. /*
  25. * objectcache
  26. * Turns on object caching. This caches immutable pieces of
  27. * data from the git repository. You will need to create a
  28. * directory 'cache' and make it writable by the server.
  29. * This can be used in place of the template cache, or
  30. * in addition to it for the maximum benefit.
  31. */
  32. //$gitphp_conf['objectcache'] = true;
  33. /*
  34. * compat
  35. * Set this to true to turn on compatibility mode. This will cause
  36. * GitPHP to rely more on the git executable for loading data,
  37. * which will bypass some of the limitations of PHP at the expense
  38. * of performance.
  39. * Turn this on if you are experiencing issues viewing data for
  40. * your projects.
  41. */
  42. $gitphp_conf['compat'] = false;