Remove geshiroot config setting
[gitphp.git] / config / gitphp.conf.defaults.php
blob:a/config/gitphp.conf.defaults.php -> blob:b/config/gitphp.conf.defaults.php
--- a/config/gitphp.conf.defaults.php
+++ b/config/gitphp.conf.defaults.php
@@ -248,7 +248,55 @@
  */
 $gitphp_conf['filemimetype'] = true;
 
-
+/*
+ * abbreviateurl
+ * Generates urls using abbreviated hashes instead of
+ * full hashes.
+ * Note that urls with abbreviated hashes are not safe
+ * to be saved long term (eg bookmarks), as future objects
+ * may be added to the repository that cause an abbreviated
+ * hash to no longer be unique.
+ * This option only takes effect with the 'compat' option
+ * turned off.
+ * Additionally, this option will automatically enable
+ * 'uniqueabbrev', as an abbreviated hash must be unique
+ * in order to resolve it to a full hash.
+ */
+$gitphp_conf['abbreviateurl'] = false;
+
+/*
+ * cleanurl
+ * Uses clean, rest-style urls throughout gitphp.
+ * This requires additional setup in your web server
+ * to rewrite urls (mod_rewrite on Apache, HttpRewriteModule
+ * on Nginx, etc).  URLs must be rewritten to point
+ * to index.php?q={query}.
+ * For more instructions on how to set this up, see
+ * http://www.gitphp.org/projects/gitphp/wiki/Clean_URLs
+ */
+$gitphp_conf['cleanurl'] = false;
+
+/*
+ * feedfilter
+ * Sets a regular expression to use to filter commits out
+ * of the project atom/rss feed.  Commits that have a
+ * commit message matching this pattern will be excluded.
+ * For example, '/GIT_SILENT/' will exclude any commit
+ * with the string GIT_SILENT in the commit message.
+ */
+//$gitphp_conf['feedfilter'] = '/GIT_SILENT/';
+
+/*
+ * showrestrictedprojects
+ * By default, when user-based restrictions are enabled,
+ * projects that are not available to the logged in user
+ * will be hidden in the project list.  Setting this option
+ * will instead display these projects as disabled in the
+ * project list.
+ */
+$gitphp_conf['showrestrictedprojects'] = false;
+
+/*
 
 
 /*********************************************************
@@ -346,6 +394,15 @@
  * this to a high number.  Set to -1 to never expire.
  */
 $gitphp_conf['objectcachelifetime'] = 86400;
+
+/*
+ * objectcachecompress
+ * Sets the size threshold at which objects will be compressed
+ * when being stored into the object cache.  Compression saves
+ * cache space but adds a very slight decompression overhead.
+ * Set to 0 to disable compression.
+ */
+$gitphp_conf['objectcachecompress'] = 500;
 
 /*
  * memcache

comments