Minor refactoring.
This commit is contained in:
parent
06d6b715a3
commit
fa575ef12c
|
|
@ -240,7 +240,7 @@ class Settings
|
||||||
*/
|
*/
|
||||||
public static function setPdfRendererPath($libraryBaseDir)
|
public static function setPdfRendererPath($libraryBaseDir)
|
||||||
{
|
{
|
||||||
if ((file_exists($libraryBaseDir) === false) || (is_readable($libraryBaseDir) === false)) {
|
if (false === file_exists($libraryBaseDir) || false === is_readable($libraryBaseDir)) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
self::$pdfRendererPath = $libraryBaseDir;
|
self::$pdfRendererPath = $libraryBaseDir;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue