/* GIT configuration */
class GitConfig {
- /* PHPGitWeb Title / Name */
+ /* PHPGitWeb Title / Name */
const GITWEB_TITLE = "PHPGitWeb";
- /* path to git projects (<project>.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 (<project>.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;