2 /* config.example.php - phpgitweb
3 * Copyright (C) 2011-2012 Philipp Kreil (pk910)
5 * This program is free software: you can redistribute it and/or modify
6 * it under the terms of the GNU General Public License as published by
7 * the Free Software Foundation, either version 3 of the License, or
8 * (at your option) any later version.
10 * This program is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 * GNU General Public License for more details.
15 * You should have received a copy of the GNU General Public License
16 * along with this program. If not, see <http://www.gnu.org/licenses/>.
19 /* Global configuration */
22 /* GIT configuration */
24 /* PHPGitWeb Title / Name */
25 const GITWEB_TITLE = "PHPGitWeb";
27 /* path to git projects (<project>.git) */
28 const PROJECT_ROOT = "/srv/gitosis/repositories/";
30 /* Point to projects.list file generated by gitosis. */
31 //const PROJECT_LIST = NULL;
32 const PROJECT_LIST = "/srv/gitosis/gitosis/projects.list";
34 /* Only allow Projects from PROJECT_LIST being viewed */
35 const STRICT_EXPORT = true;
37 /* Only allow Projects with this file within their PROJECT_ROOT being viewed */
38 //const EXPORT_FILE = "export-ok";
39 const EXPORT_FILE = NULL;
41 /* Override Project Owner to this one */
42 const PROJECT_OWNER = NULL;
45 const TEMPLATE_NAME = NULL;
48 const GIT_EXEC = NULL; /* autodetect */