X-Git-Url: http://git.pk910.de/?p=phpgitweb.git;a=blobdiff_plain;f=htdocs%2Fconfig.example.php;fp=htdocs%2Fconfig.example.php;h=f33327883a91b8ff8da28f73c3704a0bd05fec86;hp=b8441e06ce3ebb8ec8606be264a2743b3bb19fde;hb=0a6d29345b57ef71b076003e18d13efd3478764c;hpb=c20b2789b4f1c2da70f33cf2d1e78f55478a6e19 diff --git a/htdocs/config.example.php b/htdocs/config.example.php index b8441e0..f333278 100644 --- a/htdocs/config.example.php +++ b/htdocs/config.example.php @@ -1,5 +1,5 @@ . */ +/* Global configuration */ +/* GIT configuration */ +class GitConfig { + /* PHPGitWeb Title / Name */ + const GITWEB_TITLE = "PHPGitWeb"; + + /* path to git projects (.git) */ + const PROJECT_ROOT = "/srv/gitosis/repositories/"; + + /* Point to projects.list file generated by gitosis. */ + //const PROJECT_LIST = NULL; + const PROJECT_LIST = "/srv/gitosis/gitosis/projects.list"; + + /* Only allow Projects from PROJECT_LIST being viewed */ + const STRICT_EXPORT = true; + + /* Only allow Projects with this file within their PROJECT_ROOT being viewed */ + //const EXPORT_FILE = "export-ok"; + const EXPORT_FILE = NULL; + + /* Override Project Owner to this one */ + const PROJECT_OWNER = NULL; + + /* Template name */ + const TEMPLATE_NAME = NULL; + + /* Git executable */ + const GIT_EXEC = NULL; /* autodetect */ +} + ?> \ No newline at end of file