Specify paths correctly master
authorCameron Ball <cameron@moodle.com>
Fri, 13 Dec 2019 06:48:47 +0000 (14:48 +0800)
committerCameron Ball <cameron@moodle.com>
Fri, 13 Dec 2019 06:48:47 +0000 (14:48 +0800)
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));