-
Type:
Bug
-
Status: Closed
-
Priority:
Minor
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: None
-
Component/s: Recordings
-
Labels:None
-
Distro:FreePBX Distro
I have directory under spool/asterisk/sounds/custom/
When update to version 13.0.34 Whoops Error
Whoops \ Exception \ ErrorException (E_WARNING)
rename(/var/lib/asterisk/sounds/custom/update,/var/lib/asterisk/sounds/he/custom/update): Directory not empty
/var/www/html/admin/modules/recordings/install.php
$sth->execute(array(implode('&',$filenames), $recording['id']));
}
if(file_exists($dir."/custom")) {
$files = glob($dir."/custom/*");
foreach($files as $file) {
$parts = pathinfo($file);
rename($file,$dir."/".$default."/custom/".$parts['filename']);
FreePBX::Recordings()->addRecording($parts['filename'],"Migrated file","custom/".$parts['filename']);
}