diff --git a/lib/util.php b/lib/util.php index 0777643a95..41f5f1d16b 100755 --- a/lib/util.php +++ b/lib/util.php @@ -689,8 +689,8 @@ class OC_Util { return false; } - $fp = @fopen($testfile, 'w'); - @fwrite($fp, $testcontent); + $fp = @fopen($testFile, 'w'); + @fwrite($fp, $testContent); @fclose($fp); // accessing the file via http @@ -700,7 +700,7 @@ class OC_Util { @fclose($fp); // cleanup - @unlink($testfile); + @unlink($testFile); // does it work ? if($content==$testContent) {