modified : video files delete issue on empty file name issue is fixed
This commit is contained in:
parent
d74233233f
commit
283b1b354c
1 changed files with 4 additions and 1 deletions
|
@ -716,8 +716,11 @@
|
||||||
//dump($vdetails['file_name']);
|
//dump($vdetails['file_name']);
|
||||||
|
|
||||||
#Now there is no function so lets continue as
|
#Now there is no function so lets continue as
|
||||||
if(isset($vdetails['file_name']))
|
if(isset($vdetails['file_name']) && !empty($vdetails['file_name'])){
|
||||||
$vid_files = glob(VIDEOS_DIR."/".$fileDirectory . $vdetails['file_name']."*");
|
$vid_files = glob(VIDEOS_DIR."/".$fileDirectory . $vdetails['file_name']."*");
|
||||||
|
}else{
|
||||||
|
return false;
|
||||||
|
}
|
||||||
// if($hq){
|
// if($hq){
|
||||||
// var_dump(glob(VIDEOS_DIR."/".$fileDirectory . $vdetails['file_name']."*"));
|
// var_dump(glob(VIDEOS_DIR."/".$fileDirectory . $vdetails['file_name']."*"));
|
||||||
// }
|
// }
|
||||||
|
|
Loading…
Add table
Reference in a new issue