svnno****@sourc*****
svnno****@sourc*****
2011年 4月 7日 (木) 12:58:20 JST
Revision: 531 http://sourceforge.jp/projects/swfed/svn/view?view=rev&revision=531 Author: yoya Date: 2011-04-07 12:58:20 +0900 (Thu, 07 Apr 2011) Log Message: ----------- replaceShapeData 失敗時にエラー出力 (apache error.log に出るのを期待して) Modified Paths: -------------- trunk/www/swfshape.php -------------- next part -------------- Modified: trunk/www/swfshape.php =================================================================== --- trunk/www/swfshape.php 2011-04-07 03:53:05 UTC (rev 530) +++ trunk/www/swfshape.php 2011-04-07 03:58:20 UTC (rev 531) @@ -13,7 +13,9 @@ $swf = new SWFEditor(); $swf->input($swf_data); -$swf->replaceShapeData(1, $shape_data); +if ($swf->replaceShapeData(1, $shape_data) === false) { + fprintf(STDERR, "replaceShapeData(1, ...) failed. id=$id\n"); +} header("Content-type: application/x-shockwave-flash"); $header_info = array(