]> git.p6c8.net - jirafeau/pcanterino.git/blobdiff - lib/config.original.php
Updated CHANGELOG
[jirafeau/pcanterino.git] / lib / config.original.php
index d261f682b1083b9b0ca0f30fbcd36fbfc8029ce4..876ddbae4516ab4764aee7a83ab20c6f361d87fe 100644 (file)
@@ -3,6 +3,7 @@
  *  Jirafeau, your web file repository
  *  Copyright (C) 2008  Julien "axolotl" BERNARD <axolotl@magieeternelle.org>
  *  Copyright (C) 2015  Jerome Jutteau <jerome@jutteau.fr>
+ *  Copyright (C) 2024  Jirafeau project <https://gitlab.com/jirafeau> (see AUTHORS.md)
  *
  *  This program is free software: you can redistribute it and/or modify
  *  it under the terms of the GNU Affero General Public License as
@@ -33,6 +34,13 @@ $cfg['web_root'] = '';
  */
 $cfg['var_root'] = '';
 
+/* Activating 'use_shortlinks' will allow you to use shortened download links
+ * This requires a web server that supports URL rewriting, like Apache with mod_rewrite.
+ * If you are using Apache, copy the provided '.htaccess.sample' file  in the root directory of
+ * Jirafeau and store it as '.htaccess'. For other web servers, manual configuration is required.
+ */
+$cfg['use_shortlinks'] = false;
+
 /* Language - choose between 'auto' or any language located in the /lib/locales/ folder.
  * The mode »auto« will cause the script to detect the user's browser information
  * and offer a matching language, or use »en« if it is not available.

patrick-canterino.de