rtoss - Diff between revs 66 and 163

Subversion Repositories:
Rev:
Show entire file - Ignore whitespace
Rev 66 Rev 163
Line 1... Line 1...
1 <?php 1 <?php
2 if(isset($_GET['progress_key'])) { -  
-   2 if(isset($_GET['progress_key']) && function_exists('apc_fetch')) {
3         $status = apc_fetch('upload_'.$_GET['progress_key']); 3         $status = apc_fetch('upload_'.$_GET['progress_key']);
4 //      print_r($status); 4 //      print_r($status);
5         printf('{"total":%s,"current":%s}',$status['total'],$status['current']); -  
-   5         printf('{"total":%u,"current":%u}',$status['total'],$status['current']);
6 } 6 }
7 ?> 7 ?>