X-Git-Url: http://git.pk910.de/?p=phpgitweb.git;a=blobdiff_plain;f=htdocs%2Fconfig.example.php;fp=htdocs%2Fconfig.example.php;h=f1bb664093b03638ca488ede60caf0415e93d85c;hp=0755ec8398473defba2ce04f2a1ad149b83c05d6;hb=cd7a55f7a23c5981e26ff410bcf27d9ded5a0d38;hpb=574f4ed4076c84231ec75dc70a9120c553e37374 diff --git a/htdocs/config.example.php b/htdocs/config.example.php index 0755ec8..f1bb664 100644 --- a/htdocs/config.example.php +++ b/htdocs/config.example.php @@ -21,22 +21,22 @@ /* GIT configuration */ class GitConfig { - /* PHPGitWeb Title / Name */ + /* 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; + /* 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;