Create test for common.php filepath resolver
Quick test for the common.php directory and filepath resolver to ensure it's generating the correct paths And small fix for incorrect firstrun.ini location (thanks test case :) )
This commit is contained in:
+1
-1
@@ -1137,7 +1137,7 @@ function getFilePath($filename)
|
||||
return getDirectory('scripts') . "/exclude_species_list.txt";
|
||||
//
|
||||
} else if ($filename == "firstrun.ini") {
|
||||
return getDirectory('home') . "/firstrun.ini";
|
||||
return getDirectory('birdnet_pi') . "/firstrun.ini";
|
||||
//
|
||||
} else if ($filename == ".gotty") {
|
||||
return getDirectory('home') . "/.gotty";
|
||||
|
||||
Reference in New Issue
Block a user