This commit is contained in:
2019-09-29 04:24:07 -07:00
parent fb7fa07644
commit 870618e065
2 changed files with 4 additions and 2 deletions

View File

@@ -57,8 +57,10 @@ switch (@$argv[0]) {
}
}
function alert($string, $title = "Warning") {
echo "\nALERT:".$title."|".$string."\n";
// API key check
if (!@$p['key'] && (strpos($p['pt'],"%PLACE") != false || strpos($p['vt'],"%PLACE"))) {
echo "Warning: \"%PLACE\" will not work without an API key!\n";
}
// Build list of valid dropped files