summaryrefslogtreecommitdiff
path: root/themes/getstatus.php.bak
diff options
context:
space:
mode:
authorAlib <aliboba@free.fr>2010-03-18 17:21:19 +0100
committerAlib <aliboba@free.fr>2010-03-18 17:21:19 +0100
commit816d55f57ec56f4f306585075ac43e011bcb9fea (patch)
tree3b73cd016fc0b9b54438f501840bd7249bf81290 /themes/getstatus.php.bak
parent8f38837933ee756146813a43dc1633cab1a99ae3 (diff)
downloadistreamdev-816d55f57ec56f4f306585075ac43e011bcb9fea.tar.gz
istreamdev-816d55f57ec56f4f306585075ac43e011bcb9fea.tar.bz2
clean themes rep
Diffstat (limited to 'themes/getstatus.php.bak')
-rwxr-xr-xthemes/getstatus.php.bak30
1 files changed, 0 insertions, 30 deletions
diff --git a/themes/getstatus.php.bak b/themes/getstatus.php.bak
deleted file mode 100755
index 368991b..0000000
--- a/themes/getstatus.php.bak
+++ /dev/null
@@ -1,30 +0,0 @@
-<?php
-header('Content-type: application/json');
-$oldtree = null;
-$time = time();
-$i = 0;
-while((time() - $time) < 29)
-{
- $tree = file_get_contents("status.txt");
-
- if ($tree !== $oldtree )
- {
- $i+=1;
- print $tree;
- ob_flush();
- flush();
- }
- $data = json_decode($tree);
- if ($data->status == "ready")
- {
- break;
- } else if ($data->status == "error")
- {
- break;
- }
- $oldtree = $tree;
- usleep(1000);
-
-}
-
-?>