cvs: php-src /ext/ming/tests swfaction.phpt
| From: | Marcus Boerger | Date: | Sun, 17 Jul 2005 23:58:04 +0000 |
| Subject: | cvs: php-src /ext/ming/tests swfaction.phpt | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-32944@lists.php.net to get a copy of this message | ||
helly Sun Jul 17 19:58:04 2005 EDT
Modified files:
/php-src/ext/ming/tests swfaction.phpt
Log:
- Write temp file in test dir
http://cvs.php.net/diff.php/php-src/ext/ming/tests/swfaction.phpt?r1=1.1&r2=1.2&ty=u
Index: php-src/ext/ming/tests/swfaction.phpt
diff -u php-src/ext/ming/tests/swfaction.phpt:1.1 php-src/ext/ming/tests/swfaction.phpt:1.2
--- php-src/ext/ming/tests/swfaction.phpt:1.1 Fri Sep 5 10:46:37 2003
+++ php-src/ext/ming/tests/swfaction.phpt Sun Jul 17 19:58:01 2005
@@ -3,7 +3,7 @@
--SKIPIF--
<?php if (!extension_loaded("ming")) print "skip"; ?>
--FILE--
-<?php /* $Id: swfaction.phpt,v 1.1 2003/09/05 14:46:37 sniper Exp $ */
+<?php /* $Id: swfaction.phpt,v 1.2 2005/07/17 23:58:01 helly Exp $ */
$s = new SWFShape();
$f = $s->addFill(0xff, 0, 0);
@@ -40,9 +40,9 @@
$m->add(new SWFAction("gotoFrame(0); play();"));
$m->nextFrame();
- $m->save('./test.swf');
- echo md5_file('./test.swf'), "\n";
- unlink('./test.swf');
+ $m->save(dirname(__FILE__).'/test.swf', 0);
+ echo md5_file(dirname(__FILE__).'/test.swf'), "\n";
+ unlink(dirname(__FILE__).'/test.swf');
?>
--EXPECT--
9e47538692393b9915faf3fc7e686cd5