mirror of
https://github.com/DanielnetoDotCom/YouPHPTube
synced 2025-10-06 03:50:04 +02:00
Avoid warnings
This commit is contained in:
parent
cd5425102a
commit
5655efae4e
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue