core
core copied to clipboard
"relative" path to be stored in the database table "oc_accounts" per user
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.