Correction of a bug affecting DocumentsController::shareLink()
The model allowing folder management in database was previously named Folder, which was in conflict with the Folder utility of CakePHP creating a bug in the DocumentsController::shareLink() method. It is now named Dir.