Skip to content

Commit 68dc7a0

Browse files
authored
Revert isDownForMaintenance to use file_exists() (#36889)
1 parent b68ebdf commit 68dc7a0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Illuminate/Foundation/Application.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1093,7 +1093,7 @@ public function addAbsoluteCachePathPrefix($prefix)
10931093
*/
10941094
public function isDownForMaintenance()
10951095
{
1096-
return is_file($this->storagePath().'/framework/down');
1096+
return file_exists($this->storagePath().'/framework/down');
10971097
}
10981098

10991099
/**

0 commit comments

Comments
 (0)