I use an 3rd party library which needs to cache local data.
To keep the different users cache apart I pass a path to an OC_FilesystemView:
$view = new OC_FilesystemView('/'.OC_User::getUser());
$path = $view->getLocalFile('/');
This seems to work OK, but is it safe to use this way? (besides the fact that
OC_FilesystemView doesn't work when encryption is enabled which probably would
be an issue in this case anyways.)
--
Med venlig hilsen / Best Regards
Thomas Tanghus
_______________________________________________
Owncloud mailing list
[email protected]
https://mail.kde.org/mailman/listinfo/owncloud