tazwok view web/log.php @ rev 259
Fix clean(): don't report fails when it's false, no more detailled output.
author | Antoine Bodin <gokhlayeh@slitaz.org> |
---|---|
date | Sat Feb 12 22:42:38 2011 +0100 (2011-02-12) |
parents | 919becf8fe71 |
children | eb6a2f0a9faa |
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 happens...";
22 }
23 ?>