Fixes and updates to run out of container
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
#!/usr/local/bin/php
|
||||
#!/usr/bin/php
|
||||
<?php
|
||||
require_once 'functions.php';
|
||||
require_once 'rrd.php';
|
||||
@@ -16,11 +16,6 @@ $aSystems = array(
|
||||
'1206DS0163' => array('16e7a916d69656e354d00461a4da1d2e40cfa4f1', '12419')
|
||||
);
|
||||
|
||||
/* Fake command line for debugging */
|
||||
if (count($argv) < 5) {
|
||||
$argv = array(null, 1.5, 1234, 230, '1206DS0163');
|
||||
}
|
||||
|
||||
/* Fetch command line arguments */
|
||||
$fToday = floatval($argv[1]); // Wh
|
||||
$fPower = floatval($argv[2]); // W
|
||||
|
||||
Reference in New Issue
Block a user