Update : verify_converted_videos.php

This commit is contained in:
Arslan Hassan 2011-05-18 11:47:31 +00:00
parent 159215ee12
commit 8b89e07e70
2 changed files with 7 additions and 3 deletions

View file

@ -28,7 +28,10 @@ foreach($files as $file)
{
$file_details = get_file_details($file['cqueue_name']);
//pr($file_details);
if($file_details['conversion_status']=='failed')
//Thanks to pandusetiawan @ forums.clip-bucket.com
if($file_details['conversion_status']=='failed' or strpos($file_details['conversion_log'],'conversion_status : failed') >0)
{
$db->update(tbl("conversion_queue"),
@ -48,7 +51,8 @@ foreach($files as $file)
}
}
}elseif($file_details['conversion_status']=='completed')
}elseif($file_details['conversion_status']=='completed' or strpos($file_details['conversion_log'],'conversion_status : completed') >0)
{
$db->update(tbl("conversion_queue"),

View file

@ -1,5 +1,5 @@
<?php
if(userid()):
if(userid() && $old_version > 2.3 ):
?>
<p>You are now going to upgrade from <?=$old_version?> to <?=VERSION?>, please read <strong><a href="http://docs.clip-bucket.com/clipbucket-docs/clipbucket-installation">this documentation</a></strong> for further info and help, please click continue upgrade </p>