migrated ApsInstaller and ApsUpdater, fixed typo in traffic-cron (thx to Sephi), refs #1287
Signed-off-by: Michael Kaufmann (d00p) <d00p@froxlor.org>
This commit is contained in:
@@ -17,9 +17,5 @@
|
||||
*
|
||||
*/
|
||||
|
||||
openRootDB($debugHandler, $lockfile);
|
||||
$Aps = new ApsInstaller($settings, $db, $db_root);
|
||||
$Aps = new ApsInstaller($settings);
|
||||
$Aps->InstallHandler();
|
||||
closeRootDB();
|
||||
|
||||
?>
|
||||
|
||||
@@ -17,7 +17,5 @@
|
||||
*
|
||||
*/
|
||||
|
||||
$Aps = new ApsUpdater($db, $cronlog);
|
||||
$Aps = new ApsUpdater($cronlog);
|
||||
$Aps->UpdateHandler();
|
||||
|
||||
?>
|
||||
|
||||
@@ -491,7 +491,7 @@ while ($row = $result_stmt->fetch(PDO::FETCH_ASSOC)) {
|
||||
'year' => date('Y', time()),
|
||||
'month' => date('m', time()),
|
||||
'day' => date('d', time()),
|
||||
'stamp' => $time(),
|
||||
'stamp' => time(),
|
||||
'http' => $admin_traffic[$row['adminid']]['http'],
|
||||
'ftp_up' => $admin_traffic[$row['adminid']]['ftp_up'],
|
||||
'ftp_down' => $admin_traffic[$row['adminid']]['ftp_down'],
|
||||
|
||||
Reference in New Issue
Block a user