diff --git a/lib/util.php b/lib/util.php index 0777643a952978b1a9a44323b82d1d92db4988ea..41f5f1d16be3164c29e0a293a9ae8af2a67677d5 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) {