tazwok view web/log.php @ rev 306
Typo & minor improvements to check_for_incoming()
author | Antoine Bodin <gokhlayeh@slitaz.org> |
---|---|
date | Fri Feb 18 01:40:41 2011 +0100 (2011-02-18) |
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 ?>