diff options
author | plegall <plg@piwigo.org> | 2010-02-23 14:41:45 +0000 |
---|---|---|
committer | plegall <plg@piwigo.org> | 2010-02-23 14:41:45 +0000 |
commit | 570c9055564b1de94b35ddc75d42337aaf97ab41 (patch) | |
tree | 592d478138d561e985d4ff3d0b3ea115cbd26b7f /include/config_default.inc.php | |
parent | 9daf2aa7b6de3cb464b39a05153d42b965409b2b (diff) |
merge r4953 from branch 2.0 to trunk
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/trunk@4954 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to '')
-rw-r--r-- | include/config_default.inc.php | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/include/config_default.inc.php b/include/config_default.inc.php index 45ef18468..c685002bb 100644 --- a/include/config_default.inc.php +++ b/include/config_default.inc.php @@ -331,6 +331,10 @@ $conf['double_password_type_in_admin'] = false; // new user account. $conf['no_case_sensitive_for_login'] = false; +// how should we check for unicity when adding a photo. Can be 'md5sum' or +// 'filename' +$conf['uniqueness_mode'] = 'md5sum'; + // +-----------------------------------------------------------------------+ // | metadata | // +-----------------------------------------------------------------------+ @@ -745,4 +749,4 @@ $conf['light_slideshow'] = true; // the local data directory is used to store data such as compiled templates // or other plugin variables etc $conf['local_data_dir'] = dirname(dirname(__FILE__)).'/_data'; -?>
\ No newline at end of file +?> |