Code

filehandle should be closed.
authorjanw <janw@594d385d-05f5-0310-b6e9-bd551577e9d8>
Mon, 26 Sep 2005 13:49:17 +0000 (13:49 +0000)
committerjanw <janw@594d385d-05f5-0310-b6e9-bd551577e9d8>
Mon, 26 Sep 2005 13:49:17 +0000 (13:49 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@1423 594d385d-05f5-0310-b6e9-bd551577e9d8

gen_function_list.php

index 7b48581fa77d12bc3ba574f26bbabdfd07b8ceaa..59da554f383b56d92bcdbf03fce903ad9aa66333 100755 (executable)
@@ -49,6 +49,7 @@ if(is_writable($file)) {
        $fh= fopen($file,'w');
        if($fh != null) {
                fwrite($fh,"<?php\n".var_export($array,true)."\n?>");
+               fclose($fh);
        }
 }
 ?>