svn: /phpdoc/en/trunk/appendices/ filters.xml
| From: | Stanislav Malyshev | Date: | Fri, 15 Jan 2010 01:58:44 +0000 |
| Subject: | svn: /phpdoc/en/trunk/appendices/ filters.xml | ||
| Groups: | php.doc.cvs | ||
| Request: | Send a blank email to doc-cvs+get-5854@lists.php.net to get a copy of this message | ||
stas Fri, 15 Jan 2010 01:58:44 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=293566
Log:
fix filter example
Changed paths:
U phpdoc/en/trunk/appendices/filters.xml
Modified: phpdoc/en/trunk/appendices/filters.xml
===================================================================
--- phpdoc/en/trunk/appendices/filters.xml 2010-01-15 01:18:35 UTC (rev 293565)
+++ phpdoc/en/trunk/appendices/filters.xml 2010-01-15 01:58:44 UTC (rev 293566)
@@ -521,7 +521,7 @@
$opts = array('iv'=>$iv, 'key'=>$key);
$fp = fopen('secert-file.enc', 'rb');
-stream_filter_append($fp, 'mdecrypt.tripledes', STREAM_FILTER_WRITE, $opts);
+stream_filter_append($fp, 'mdecrypt.tripledes', STREAM_FILTER_READ, $opts);
$data = rtrim(stream_get_contents($fp));
fclose($fp);