mirror of
https://github.com/moudsen/mailGraph
synced 2025-11-20 03:02:43 +01:00
Merge branch 'main' of github.com:moudsen/mailGraph into main
This commit is contained in:
@@ -27,7 +27,7 @@
|
||||
$content = file_get_contents($argv[1]);
|
||||
$data = json_decode($content,TRUE);
|
||||
|
||||
if ($data==NULL)
|
||||
if (($data==NULL) && (sizeof($content)>2))
|
||||
{
|
||||
echo 'Invalid JSON format in config file?!'.$cCRLF;
|
||||
die;
|
||||
|
||||
Reference in New Issue
Block a user