X-Git-Url: https://git.p6c8.net/jirafeau_mojo42.git/blobdiff_plain/0a5462c3311b4541a858b8e719ae8548877c7a62..3b097eba6400cac6e9f5d6b230a33f2783b38e5b:/lib/config.php?ds=sidebyside diff --git a/lib/config.php b/lib/config.php index 790ae16..4ba7e5e 100644 --- a/lib/config.php +++ b/lib/config.php @@ -47,11 +47,11 @@ $cfg['download_page'] = false; The scripting interface can propose to create, read, write, delete blocks of data. */ $cfg['enable_blocks'] = false; -/* Encryption feature. disabled by default. - * This feature needs to have mcrypt php module installed. - * Note: activating encryption will make file-deduplication to fail. - */ -$cfg['enable_crypt'] = false; +/* Encryption feature. enabled by default (if possible). + * By disabling it, file-level deduplication will be effective. */ +$cfg['enable_crypt'] = true; +/* Split lenght of link refenrece. */ +$cfg['link_name_lenght'] = 5; if ((basename (__FILE__) != 'config.local.php') && file_exists (JIRAFEAU_ROOT.'lib/config.local.php'))