# You must set them to false once everything is running ok.␊ |
#␊ |
$cfg['debug'] = true;␊ |
# It will help you catch errors at beginning when configuring your ␊ |
# It will help you catch errors at beginning when configuring your␊ |
# SCM backend. It must be turned off in production.␊ |
$cfg['debug_scm'] = false; ␊ |
$cfg['debug_scm'] = false;␊ |
␊ |
#␊ |
# Note: By default, InDefero will not manage the repositories for ␊ |
# you, you can enable the repositories management with the ␊ |
# built-in plugins. The documentation of the plugins is available ␊ |
# Note: By default, InDefero will not manage the repositories for␊ |
# you, you can enable the repositories management with the␊ |
# built-in plugins. The documentation of the plugins is available␊ |
# in the `doc/` folder.␊ |
#␊ |
␊ |
|
# For example: '/path/to/my/project/.git'␊ |
#␊ |
# If you have multiple repositories, you need to put %s where you␊ |
# want the shortname of the project to be replaced. ␊ |
# want the shortname of the project to be replaced.␊ |
# For example:␊ |
# - You have many projects on your local computer and want to use ␊ |
# - You have many projects on your local computer and want to use␊ |
# InDefero to see them. Put: '/home/yourlogin/Projects/%s/.git'␊ |
# - You have many projects on a remote server with only "bare" git␊ |
# repositories. Put: '/home/git/repositories/%s.git'␊ |
|
$cfg['git_write_remote_url'] = 'git@localhost:%s.git';␊ |
␊ |
# Same as for git, you can have multiple repositories, one for each␊ |
# project or a single one for all the projects. ␊ |
# project or a single one for all the projects.␊ |
#␊ |
# In the case of subversion, the admin of a project can also select a␊ |
# remote repository from the web interface. From the web interface␊ |
|
$cfg['svn_repositories'] = 'file:///home/svn/repositories/%s';␊ |
$cfg['svn_remote_url'] = 'http://localhost/svn/%s';␊ |
␊ |
# Same as for git, you can have multiple repositories, one for each␊ |
# project or a single one for all the projects.␊ |
$cfg['mtn_repositories'] = '/home/mtn/repositories/%s.mtn';␊ |
$cfg['mtn_branch_prefix'] = 'com.indefero.projects.';␊ |
$cfg['mtn_remote_url'] = 'mtn://localhost/~%s/%s%s';␊ |
␊ |
# Mercurial repositories path␊ |
#$cfg['mercurial_repositories'] = '/home/mercurial/repositories/%s';␊ |
#$cfg['mercurial_remote_url'] = 'http://projects.ceondo.com/hg/%s';␊ |
|
$cfg['mail_port'] = 25;␊ |
␊ |
# Paths/Url configuration.␊ |
# ␊ |
#␊ |
# Examples:␊ |
# You have: ␊ |
# You have:␊ |
# http://www.mydomain.com/myfolder/index.php␊ |
# Put:␊ |
# $cfg['idf_base'] = '/myfolder/index.php';␊ |
# $cfg['url_base'] = 'http://www.mydomain.com';␊ |
#␊ |
# You have mod_rewrite: ␊ |
# You have mod_rewrite:␊ |
# http://www.mydomain.com/␊ |
# Put:␊ |
# $cfg['idf_base'] = '';␊ |
|
$cfg['idf_base'] = '/index.php';␊ |
$cfg['url_base'] = 'http://localhost';␊ |
␊ |
# Url to access the media folder which is in the www folder ␊ |
# Url to access the media folder which is in the www folder␊ |
# of the archive␊ |
$cfg['url_media'] = 'http://localhost/media';␊ |
␊ |
|
$cfg['upload_path'] = '/home/www/indefero/www/media/upload';␊ |
␊ |
#␊ |
# The following path *MUST NOT* be accessible through a web browser ␊ |
# as user will be able to upload .html, .php files and this can ␊ |
# create *TERRIBLE* security issues. In this folder, the attachments ␊ |
# The following path *MUST NOT* be accessible through a web browser␊ |
# as user will be able to upload .html, .php files and this can␊ |
# create *TERRIBLE* security issues. In this folder, the attachments␊ |
# to the issues will be uploaded and we do not restrict the content type.␊ |
#␊ |
$cfg['upload_issue_path'] = '/home/www/indefero/attachments';␊ |
|
#␊ |
# write here a long random string unique for this installation. This␊ |
# is critical to put a long string, with at least 40 characters.␊ |
$cfg['secret_key'] = ''; ␊ |
$cfg['secret_key'] = '';␊ |
␊ |
# the sender of all the emails.␊ |
$cfg['from_email'] = 'sender@example.com'; ␊ |
$cfg['from_email'] = 'sender@example.com';␊ |
␊ |
# Email address for the bounced messages.␊ |
$cfg['bounce_email'] = 'no-reply@example.com';␊ |
|
$cfg['db_server'] = '';␊ |
$cfg['db_version'] = '5.1'; # Only needed for MySQL␊ |
# If you want to have different installations with the same DB␊ |
$cfg['db_table_prefix'] = 'indefero_'; ␊ |
# ** DO NOT USE SQLITE IN PRODUCTION ** ␊ |
$cfg['db_table_prefix'] = 'indefero_';␊ |
# ** DO NOT USE SQLITE IN PRODUCTION **␊ |
# This is not because of problems with the quality of the SQLite␊ |
# driver or with SQLite itself, this is due to the lack of migration␊ |
# support in Pluf for SQLite, this means we cannot modify the DB␊ |
# easily once it is loaded with data.␊ |
$cfg['db_engine'] = 'PostgreSQL'; # SQLite is also well tested or MySQL␊ |
$cfg['db_database'] = 'website'; # put absolute path to the db if you␊ |
# are using SQLite. ␊ |
# are using SQLite.␊ |
#␊ |
# The extension of the downloads are limited. You can add extra␊ |
# extensions here. The list must start with a space.␊ |
# $cfg['idf_extra_upload_ext'] = ' ext1 ext2';␊ |
#␊ |
# By default, the size of the downloads is limited to 2MB.␊ |
# The php.ini upload_max_filesize configuration setting will ␊ |
# The php.ini upload_max_filesize configuration setting will␊ |
# always have precedence.␊ |
# $cfg['max_upload_size'] = 2097152; // Size in bytes␊ |
␊ |
|
$cfg['idf_views'] = dirname(__FILE__).'/urls.php';␊ |
␊ |
# available languages␊ |
$cfg['languages'] = array('en', 'fr'); ␊ |
$cfg['languages'] = array('en', 'fr');␊ |
␊ |
# SCM base configuration␊ |
$cfg['allowed_scm'] = array('git' => 'IDF_Scm_Git',␊ |
'svn' => 'IDF_Scm_Svn',␊ |
'mercurial' => 'IDF_Scm_Mercurial',␊ |
'mtn' => 'IDF_Scm_Monotone',␊ |
);␊ |
␊ |
# If you want to use another memtypes database␊ |
|
# $cfg['idf_extra_text_ext'] = 'ext1 ext2 ext3';␊ |
␊ |
# If you can execute the shell commands executed to get info␊ |
# from the scm with the user of your PHP process but it is ␊ |
# not working from within PHP, this can be due to the environment ␊ |
# from the scm with the user of your PHP process but it is␊ |
# not working from within PHP, this can be due to the environment␊ |
# variables not being set correctly. Note the trailing space.␊ |
# $cfg['idf_exec_cmd_prefix'] = '/usr/bin/env -i ';␊ |
␊ |
|
# To know which path you need to provide, just run:␊ |
# $ which git␊ |
# from the command line. This will give you the path to git.␊ |
# $cfg['svn_path'] = 'svn'; ␊ |
# $cfg['svnlook_path'] = 'svnlook'; ␊ |
# $cfg['svn_path'] = 'svn';␊ |
# $cfg['svnlook_path'] = 'svnlook';␊ |
# $cfg['svnadmin_path'] = 'svnadmin';␊ |
# $cfg['hg_path'] = 'hg';␊ |
# $cfg['git_path'] = 'git'; ␊ |
# $cfg['git_path'] = 'git';␊ |
␊ |
return $cfg;␊ |