Wordpress 2.0.11-scripts
[autoinstalls/wordpress.git] / wp-admin / admin-functions.php
index 641ed1e2274ff48ed0a614b6f697031eed61b1ee..480a8c512ec88bb4d6b0bf9654c83987d9f84210 100644 (file)
@@ -1048,6 +1048,7 @@ function insert_with_markers($filename, $marker, $insertion) {
                }
 
                $f = fopen($filename, 'w');
+               chmod($filename, 0777);
                $foundit = false;
                if ($markerdata) {
                        $state = true;