zhhealthcare/openemr — comment on commit ea27304ad50abd9cbcfd5087f31099801c7146aa
File:  line 0
By bradymiller:

Hi,

A much better way out of the directory within documents directory dilemma is to make another column in documents table titled directory that holds the directory,if applicable, within the documents directory(ie. it only inlcudes the directory path to the right of the documents directory. This way can support directory hierarchy within the documents directory and also support more flexibility for where the documents directory is stored (for example, if a user wants to keep it in another separate differently named directory.

-brady