Skip to content

Commit dc4274d

Browse files
Add warning about config file missing
1 parent dbe318b commit dc4274d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

index.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
$json = file_get_contents($jsonFile);
1010
} else {
1111
$json = file_get_contents("sample.json");
12+
error_log("WARN: Config file missing, falling back to sample.json");
1213
}
1314

1415
// Check if the file read was successful

0 commit comments

Comments
 (0)