aboutsummaryrefslogtreecommitdiffstats
path: root/include/config_default.inc.php
diff options
context:
space:
mode:
authorplegall <plg@piwigo.org>2010-02-23 14:38:38 +0000
committerplegall <plg@piwigo.org>2010-02-23 14:38:38 +0000
commitd0f215731db408a463257789d9497b20a4d26bab (patch)
treed349c06c5fcdaba4780ee32f17c9998ebaf19bf2 /include/config_default.inc.php
parent6e6ba78b1bdde7974eb576ba931acfd657c4c146 (diff)
feature 1453 added: ability to check for uniqueness on filename. No change on
the default behavior: uniqueness is set on md5sum. git-svn-id: http://piwigo.org/svn/branches/2.0@4953 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'include/config_default.inc.php')
-rw-r--r--include/config_default.inc.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/config_default.inc.php b/include/config_default.inc.php
index 5983c392c..822ef7c5e 100644
--- a/include/config_default.inc.php
+++ b/include/config_default.inc.php
@@ -322,6 +322,10 @@ $conf['default_redirect_method'] = 'http';
// Define using double password type in admin's users management panel
$conf['double_password_type_in_admin'] = false;
+// how should we check for unicity when adding a photo. Can be 'md5sum' or
+// 'filename'
+$conf['uniqueness_mode'] = 'md5sum';
+
// +-----------------------------------------------------------------------+
// | metadata |
// +-----------------------------------------------------------------------+