tazwok view web/log.php @ rev 488

Change VERSION to 4.2.12
author Antoine Bodin <gokhlayeh@slitaz.org>
date Thu Apr 07 19:47:02 2011 +0200 (2011-04-07)
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 ?>