tazwok view web/log.php @ rev 553
Speed optimization of md5sum & build-depends scan core loops.
author | Antoine Bodin <gokhlayeh@slitaz.org> |
---|---|
date | Tue Jan 03 23:34:29 2012 +0100 (2012-01-03) |
parents | d30774579470 |
children |
line source
1 <?php
2 $version=$_GET["version"];
3 if (file_exists("conf-$version.php")) {
4 include("conf-$version.php");
5 }
6 else {
7 if (file_exists("conf.php")) {
8 include("conf.php");
9 }
10 }
11 $package=$_GET["package"];
12 if ("$package") {
13 if (file_exists("$log_dir/$package.html")) {
14 include ("$log_dir/$package.html");
15 }
16 else {
17 echo "No log available for $package.";
18 }
19 }
20 else {
21 echo "Strange things happen...";
22 }
23 ?>