From the doc: realpath() returns FALSE on failure, e.g. if the file does
not exist.
Le 16 mai 2013 00:08, "André R." <notifications@github.com> a écrit :

> In kernel/private/classes/clusterfilehandlers/dfsbackends/dfs.php:
>
> > @@ -14,16 +14,16 @@ public function __construct()
> >      {
> >          $mountPointPath = eZINI::instance( 'file.ini' )->variable( 'eZDFSClusteringSettings', 'MountPointPath' );
> >
> > -        if ( !$mountPointPath = realpath( $mountPointPath ) )
> > +        if ( !$realPath = realpath( $mountPointPath ) )
>
> Ok, didn't check if the function might return empty string, but as it does
> not I would also say strict check.
>
> —
> Reply to this email directly or view it on GitHub<https://github.com/ezsystems/ezpublish-legacy/pull/637/files#r4245533>
> .
>