commit 45b66cf7b9f11aaaa440df4ad230669029b2de6e
parent d34dc06dce8364725258fb5aa4f758ab28733d1e
Author: Timo A. Hummel <felicitus@felicitus.org>
Date: Fri, 6 Nov 2015 23:24:54 +0100
Removed legacy config files, related to #459
Diffstat:
2 files changed, 0 insertions(+), 67 deletions(-)
diff --git a/config-test.php b/config-test.php
@@ -1,7 +0,0 @@
-<?php
-namespace PartKeepr;
-
-use PartKeepr\Util\Configuration;
-
-Configuration::setOption("partkeepr.database.dbname", "partkeepr-test");
-Configuration::setOption("partkeepr.database.driver", "pdo_sqlite");
diff --git a/config.php.template b/config.php.template
@@ -1,60 +0,0 @@
-
-/**
- * Specifies if password changing is allowed.
- */
-Configuration::setOption("partkeepr.frontend.allow_password_change", true);
-
-/**
- * Specifies the separator for category paths. If you change this, you need to rebuild the category paths by
- * executing the script scripts/UpdateCategoryPathCache.php
- */
-Configuration::setOption("partkeepr.category.path_separator", " ➤ ");
-
-/**
- * Set to true if authentication via HTTP is wanted.
- *
- * Authentication is then completely handled by your web server. Non-existant users are created automatically.
- * Make sure you have admin rights transferred prior switching to HTTP auth.
- *
- * As soon as you set HTTP auth, you can no longer login and logout in PartKeepr, as this is handled by your web server.
- */
-Configuration::setOption("partkeepr.auth.http", false);
-
-/**
- * Set to true if logging is wanted.
- *
- * If you leave as-is or set to false, no log will be written at all. If you set this to true, a log will be written
- * to the file specified by partkeepr.logger.outputfile. You need to make sure that the path to the file exists and
- * that the file is writable.
- */
-Configuration::setOption("partkeepr.logger.enable", false);
-
-/**
- * Specifies the log file for the logger. If you enable logging and specify no outputfile, the default will be
- * /tmp/partkeepr.log.
- *
- * You need to make sure that the path to the file exists and that the file is writable.
- */
-Configuration::setOption("partkeepr.logger.outputfile", "/tmp/partkeepr.log");
-
-/**
- * Specifies the cache implementation. You can choose from one of these:
- *
- * - none
- * - APC
- * - MemCache
- * - XCache
- *
- * Please note that you need additional options for memcache.
- */
-Configuration::setOption("partkeepr.cache.implementation", "APC");
-
-/**
- * Specifies the memcache hostname. Defaults to localhost
- */
-Configuration::setOption("partkeepr.cache.memcache.host", "localhost");
-
-/**
- * Specifies the memcache port. Defaults to 11211
- */
-Configuration::setOption("partkeepr.cache.memcache.port", "11211");