aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests/utils/ReferenceLinkDB.php
diff options
context:
space:
mode:
authornodiscc <nodiscc@gmail.com>2015-06-26 22:03:10 +0200
committernodiscc <nodiscc@gmail.com>2015-06-26 22:03:10 +0200
commit2fbadc3c631e0c7e32b9b956fb5551822729bc33 (patch)
tree1325de9b3e2c83bc501ab7a977fcbd0fbe4490d5 /tests/utils/ReferenceLinkDB.php
parentda9b0e3e807f05831c00b2f02a16b76eafbb6743 (diff)
parent9c8752a2061e67c719125edb6e0d6717d1af8553 (diff)
downloadShaarli-2fbadc3c631e0c7e32b9b956fb5551822729bc33.tar.gz
Shaarli-2fbadc3c631e0c7e32b9b956fb5551822729bc33.tar.zst
Shaarli-2fbadc3c631e0c7e32b9b956fb5551822729bc33.zip
Merge remote-tracking branch 'virtualtam/linkdb/remove-globals'
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