Specify paths correctly
[GrooveNet.git] / test.php
index abb0048..e8ff974 100644 (file)
--- a/test.php
+++ b/test.php
@@ -12,8 +12,8 @@ $c = array_map(
 
 $d = array_combine(array_column($c, 'hash'), array_column($c, 'path'));
 
-$camFaves = lines(trim(file_get_contents('cam.favourites.txt')));
-$jayceFaves = lines(trim(file_get_contents('jayce.favourites.txt')));
+$camFaves = lines(trim(file_get_contents(PATH_TO_GROOVENET . '/cam.favourites.txt')));
+$jayceFaves = lines(trim(file_get_contents(PATH_TO_GROOVENET . '/jayce.favourites.txt')));
 $allFaves = array_merge($camFaves, $jayceFaves);
 $hashMap = unserialize(file_get_contents(PATH_TO_HASHMAP));