SVN: toys/stbr: index.php stats/index.html

shadzik shadzik at pld-linux.org
Tue Aug 31 10:40:43 CEST 2010


Author: shadzik
Date: Tue Aug 31 10:40:42 2010
New Revision: 11796

Modified:
   toys/stbr/index.php
   toys/stbr/stats/index.html
Log:
- updated


Modified: toys/stbr/index.php
==============================================================================
--- toys/stbr/index.php	(original)
+++ toys/stbr/index.php	Tue Aug 31 10:40:42 2010
@@ -364,8 +364,9 @@
 
 			foreach($filled['builder'] as $key => $value)
 			{
-				$randname = '/tmp/stbr-' . rand();
+				$randname = '/home/users/stbr/tmp/stbr-' . rand();
 				$url = `./buildlog_link.py {$q['line']} {$filled['no']} {$key} $randname`;
+				//echo $url;
 
 				$url = file_get_contents($randname);
 
@@ -397,6 +398,7 @@
 				sqlite_exec($db, $insert, $err);
 				//echo $err;
 				$delete = 'delete from unfilled where spec="'. $q['aspec'] .'" and branch="'. $q['abranch'] .'"';
+				//file_put_contents ("../delete.log", $delete, FILE_APPEND);
 				$delete = sqlite_escape_string($delete);
 				sqlite_exec($unfdb, $delete, $err);
 			}
@@ -424,6 +426,7 @@
 				$insert = sqlite_escape_string($insert);
 				sqlite_exec($db, $insert, $err);
 				$delete = 'delete from unfilled where spec="'. $q['aspec'] .'" and branch="'. $q['abranch'] .'"';
+				//file_put_contents ("../delete2.log", $delete, FILE_APPEND);
 				$delete = sqlite_escape_string($delete);
 				sqlite_exec($unfdb, $delete, $err);
 			}

Modified: toys/stbr/stats/index.html
==============================================================================
--- toys/stbr/stats/index.html	(original)
+++ toys/stbr/stats/index.html	Tue Aug 31 10:40:42 2010
@@ -31,7 +31,6 @@
 		</script>
 	</head>
 	<body>
-		 
 		<div id="Total_requests"></div>
 		<div id="2009_Monthly"></div>
 		<div id="2010_Monthly"></div>
@@ -41,6 +40,5 @@
 		<div id="Top10_sender"></div>
 		<div id="Top10_specTh"></div>
 		<div id="Top10_specTi"></div>
-		 
 	</body>
 </html>


More information about the pld-cvs-commit mailing list