aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests/utils/ReferenceLinkDB.php
diff options
context:
space:
mode:
Diffstat (limited to 'tests/utils/ReferenceLinkDB.php')
-rw-r--r--tests/utils/ReferenceLinkDB.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/utils/ReferenceLinkDB.php b/tests/utils/ReferenceLinkDB.php
index 2cb05bae..59ba671f 100644
--- a/tests/utils/ReferenceLinkDB.php
+++ b/tests/utils/ReferenceLinkDB.php
@@ -93,11 +93,11 @@ class ReferenceLinkDB
93 /** 93 /**
94 * Writes data to the datastore 94 * Writes data to the datastore
95 */ 95 */
96 public function write($filename, $prefix, $suffix) 96 public function write($filename)
97 { 97 {
98 file_put_contents( 98 file_put_contents(
99 $filename, 99 $filename,
100 $prefix.base64_encode(gzdeflate(serialize($this->links))).$suffix 100 '<?php /* '.base64_encode(gzdeflate(serialize($this->links))).' */ ?>'
101 ); 101 );
102 } 102 }
103 103