fix warning
This commit is contained in:
parent
59e5ac419b
commit
402d9d8928
@ -72,6 +72,11 @@ function get_struct($dir, $line)
|
|||||||
function read_tsv($dir, $path)
|
function read_tsv($dir, $path)
|
||||||
{
|
{
|
||||||
|
|
||||||
|
if (!is_file($path))
|
||||||
|
{
|
||||||
|
return [];
|
||||||
|
}
|
||||||
|
|
||||||
$lines = explode("\n", file_get_contents($path));
|
$lines = explode("\n", file_get_contents($path));
|
||||||
|
|
||||||
$shares = [];
|
$shares = [];
|
||||||
|
Loading…
Reference in New Issue
Block a user