rtoss

Subversion Repositories:
Compare Path: Rev
With Path: Rev
/ @ 162  →  / @ 163
/cndos-up/progress.php
@@ -1,7 +1,7 @@
<?php
if(isset($_GET['progress_key'])) {
if(isset($_GET['progress_key']) && function_exists('apc_fetch')) {
$status = apc_fetch('upload_'.$_GET['progress_key']);
// print_r($status);
printf('{"total":%s,"current":%s}',$status['total'],$status['current']);
printf('{"total":%u,"current":%u}',$status['total'],$status['current']);
}
?>