Hi,

I am developing some features for owncloud. And I need to get the path of
files for a given user.
Physically, for user "admin" files are in
"/var/www/owncloud/data/admin/files/".

I am building the path with something like:

$path = '/var/www/owncloud/data/' . $user->getDisplayName() . '/files/' .
$fileName;

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,
Mathieu
_______________________________________________
Devel mailing list
Devel@owncloud.org
http://mailman.owncloud.org/mailman/listinfo/devel

Reply via email to