Skip to content

Commit dcff7d7

Browse files
committed
not
1 parent 7063ee8 commit dcff7d7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Resources/ResourceFactory.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ public static function create(DispatchResource $resource)
122122

123123
public static function fromFile($fullPath)
124124
{
125-
if(file_exists($fullPath))
125+
if(!file_exists($fullPath))
126126
{
127127
return Response::create('File Not Found', 404);
128128
}

0 commit comments

Comments
 (0)