core icon indicating copy to clipboard operation
core copied to clipboard

"relative" path to be stored in the database table "oc_accounts" per user

Open mehargags opened this issue 5 years ago • 0 comments

It would be great to rather have "relative" path stored in the database table oc_accounts per user rather than an absolute path. That's what exactly the constant 'datadirectory' in config is for. The relative path in DB should be derived from 'datadirectory'+user's directory. This becomes a problem if you migrate the OC instance to a new server / directory and the absolute paths would change.

mehargags avatar Aug 02 '20 09:08 mehargags