returntrue;//dummy untill premissions are correctly implemented, also the correcty value because for now users are locked in their seperate data dir and can read/write everything in there
}
/**
@ -42,7 +48,13 @@ class OC_FILESYSTEM{
*@paramstringpath
*@returnbool
*/
staticprivatefunctioncanWrite(){
staticprivatefunctioncanWrite($path){
if(substr($path,0,1)!=='/'){
$path='/'.$path;
}
if(strstr($path,'/../')){
returnfalse;
}
returntrue;//dummy untill premissions are correctly implemented, also the correcty value because for now users are locked in their seperate data dir and can read/write everything in there