TIC processing fixes, was unable to find TIC file
This commit is contained in:
@@ -145,7 +145,6 @@ class Tic extends FTNBase
|
||||
/**
|
||||
* Load a TIC file from an existing filename
|
||||
*
|
||||
* @param string $sp
|
||||
* @param string $filename Relative to filesystem
|
||||
* @return void
|
||||
* @throws FileNotFoundException
|
||||
@@ -164,7 +163,7 @@ class Tic extends FTNBase
|
||||
}
|
||||
|
||||
if (! $fs->exists($filename))
|
||||
throw new FileNotFoundException(sprintf('File [%s] doesnt exist',$filename));
|
||||
throw new FileNotFoundException(sprintf('File [%s] doesnt exist',$fs->path($filename)));
|
||||
|
||||
if (! is_readable($fs->path($filename)))
|
||||
throw new UnableToReadFile(sprintf('File [%s] is not readable',realpath($filename)));
|
||||
|
Reference in New Issue
Block a user