From 5655efae4e573b36e81b1333a121b8567d689a04 Mon Sep 17 00:00:00 2001 From: Daniel Date: Wed, 7 Jul 2021 15:01:40 -0300 Subject: [PATCH] Avoid warnings --- objects/Object.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/objects/Object.php b/objects/Object.php index 6f7eee93a3..a179648516 100644 --- a/objects/Object.php +++ b/objects/Object.php @@ -514,7 +514,7 @@ abstract class ObjectYPT implements ObjectInterface { $tmpDir = fixPath($tmpDir); make_path($tmpDir); if (!file_exists($tmpDir . "index.html") && is_writable($tmpDir)) {// to avoid search into the directory - @file_put_contents($tmpDir . "index.html", time()); + _file_put_contents($tmpDir . "index.html", time()); } $_getCacheDir[$filename] = $tmpDir;