Minor refactoring.

This commit is contained in:
Roman Syroeshko 2014-10-14 21:33:04 +04:00
parent 06d6b715a3
commit fa575ef12c
1 changed files with 1 additions and 1 deletions

View File

@ -240,7 +240,7 @@ class Settings
*/
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;
}
self::$pdfRendererPath = $libraryBaseDir;