[owncloud-devel] API function to get data directory
devin at nacredata.com
Thu Apr 21 12:57:52 GMT 2016
https://github.com/scolebrook told me recently "The data directory is
quite possibly not going to be called data and almost certainly not
inside the server root. Get this from the $CONFIG array in config.php
with the datadirectory key."
On 21 Apr 2016, at 8:33, Mathieu Fourcroy wrote:
> I am developing some features for owncloud. And I need to get the path
> files for a given user.
> Physically, for user "admin" files are in
> I am building the path with something like:
> $path = '/var/www/owncloud/data/' . $user->getDisplayName() .
> '/files/' .
> This is not very portable so my question is, how to get the string
> '/var/www/owncloud/data/' using the existing API ?
> Thanks in advance for your answers,
> Devel mailing list
> Devel at owncloud.org
contact info: https://nacredata.com/devin
• Amazing Tie-Dye Tee-shirts: https://www.icedyedesigns.com
• Art/Poetry/Environment: https://secure.extinctionwitness.org/support
• Support progressive climate politics:
• Forest Protection in Ohio:
More information about the Devel