Try now
This commit is contained in:
parent
e2e0c775e7
commit
f93007f8b1
@ -233,6 +233,7 @@ trait Files
|
|||||||
|
|
||||||
public function download_to_file($message_media, $file, $cb = null)
|
public function download_to_file($message_media, $file, $cb = null)
|
||||||
{
|
{
|
||||||
|
$file = preg_replace('|/+|', '/', $file);
|
||||||
if (!file_exists($file)) {
|
if (!file_exists($file)) {
|
||||||
touch($file);
|
touch($file);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user