Skip to content

Commit

Permalink
hide disk checker warning
Browse files Browse the repository at this point in the history
  • Loading branch information
kmvan committed Jan 19, 2019
1 parent adcd04e commit 8ca27d7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Components/Helper/HelperApi.php
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ public static function getDiskTotalSpace($human = false)
if (null === $space) {
$dir = self::isWin() ? 'C:' : '/';

if ( ! \is_readable($dir)) {
if ( ! @\is_readable($dir)) {
$space = 0;

return 0;
Expand All @@ -167,7 +167,7 @@ public static function getDiskFreeSpace($human = false)
if (null === $space) {
$dir = self::isWin() ? 'C:' : '/';

if ( ! \is_readable($dir)) {
if ( ! @\is_readable($dir)) {
$space = 0;

return 0;
Expand Down

0 comments on commit 8ca27d7

Please sign in to comment.