aboutsummaryrefslogtreecommitdiffstats
path: root/include/config_default.inc.php
diff options
context:
space:
mode:
authorplegall <plg@piwigo.org>2012-03-10 21:34:48 +0000
committerplegall <plg@piwigo.org>2012-03-10 21:34:48 +0000
commite0f6d5d6a7330c814fddac0d0bc8887a6a505472 (patch)
tree056e52222fc524bed0217f8f568748d8558d03e4 /include/config_default.inc.php
parentb1c58f59cacb65c819b4234d19a9568f0a66029b (diff)
feature 414 (yes, a 6 years old request): ability to define the list of
permitted characters in file/directory names for synchronization. git-svn-id: http://piwigo.org/svn/trunk@13527 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to '')
-rw-r--r--include/config_default.inc.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/config_default.inc.php b/include/config_default.inc.php
index d09ebf302..7795f7731 100644
--- a/include/config_default.inc.php
+++ b/include/config_default.inc.php
@@ -746,6 +746,9 @@ $conf['ploader_download_linux'] = 'http://piwigo.org/ext/download.php?eid=269';
// enable the synchronization method for adding photos
$conf['enable_synchronization'] = true;
+// permitted characters for files/directoris during synchronization
+$conf['sync_chars_regex'] = '/^[a-zA-Z0-9-_.]+$/';
+
// PEM url
$conf['alternative_pem_url'] = '';