Index: branches/version-2_5-dev/data/class/pages/admin/design/LC_Page_Admin_Design_Bloc.php
===================================================================
--- branches/version-2_5-dev/data/class/pages/admin/design/LC_Page_Admin_Design_Bloc.php	(revision 20618)
+++ branches/version-2_5-dev/data/class/pages/admin/design/LC_Page_Admin_Design_Bloc.php	(revision 20629)
@@ -135,8 +135,10 @@
                 // ディレクトリの作成
                 SC_Utils_Ex::sfMakeDir($new_bloc_path);
-                $res = file_put_contents($new_bloc_path, $_POST['bloc_html']);
-                if ($res === false) {
+                $fp = fopen($new_bloc_path,"w");
+                if (!$fp) {
                     SC_Utils_Ex::sfDispException();
                 }
+                fwrite($fp, $_POST['bloc_html']); // FIXME いきなり POST はちょっと...
+                fclose($fp);
 
                 $arrBlocData = $this->lfGetBlocData("filename = ? AND device_type_id = ?",
