Skip to content
Browse files

Changed disk warning config

  • Loading branch information...
1 parent 1efe6c3 commit 3cc5a2cb3639ec2ab4089aae125f47051585fcd0 Kevin Wojcik committed
Showing with 3 additions and 10 deletions.
  1. +2 −7 config/disk.conf
  2. +1 −1 index.php
  3. +0 −2 main.php
View
9 config/disk.conf
@@ -1,12 +1,7 @@
<root>
<disk>
<disk_id>39</disk_id>
-<yellow>75</yellow>
-<red>90</red>
-</disk>
-<disk>
-<disk_id>38</disk_id>
-<yellow>75</yellow>
-<red>90</red>
+<yellow>90</yellow>
+<red>97</red>
</disk>
</root>
View
2 index.php
@@ -89,4 +89,4 @@ function() {
</div>
</body>
-</html>
+</html>
View
2 main.php
@@ -7,7 +7,6 @@ function getSites($dir){
foreach($xml->children() as $child){
array_push($dontwatch, intval($child));
}
-
$dbh = new PDO($dir) or die("cannot open the database");
$sql = 'SElECT * FROM meta ORDER BY last_checked DESC LIMIT 1';
$stmt = $dbh->prepare($sql);
@@ -50,7 +49,6 @@ function getSites($dir){
}
?>
-
<table id="sites_table" class="tablesorter">
<thead>
<tr>

0 comments on commit 3cc5a2c

Please sign in to comment.
Something went wrong with that request. Please try again.