From 9b31a7071fd1710a4a9e4f8bac7c0689bfaad9e7 Mon Sep 17 00:00:00 2001 From: Florian Thoma Date: Mon, 31 Jul 2017 19:22:19 +1000 Subject: [PATCH] change folder extraction --- _config.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/_config.php b/_config.php index a85bb98..6d7e5db 100644 --- a/_config.php +++ b/_config.php @@ -22,6 +22,6 @@ if ($config->get('DMSDocument_versions', 'enable_versions')) { // add dmsassets folder to file system sync exclusion if (strpos($config->get('DMS', 'folder_name'), 'assets/') === 0) { - $folderName = str_replace('assets/', '', $config->get('DMS', 'folder_name')); + $folderName = substr($config->get('DMS', 'folder_name'), 7); $config->update('Filesystem', 'sync_blacklisted_patterns', array("/^" . $folderName . "$/i",)); }