close_fw.php
346 Bytes
<?php
require_once './include/configure.php';
require_once './include/classes/Connectdb.php';
require_once './include/classes/Sytemoutput.php';
$db = new Connectdb();
$db->exec('UPDATE groups SET open = 0 ;');
$sysout = new Sytemoutput();
$array_pclistgroups = $db->getpclistgroupsarray();
$sysout->createfw($array_pclistgroups);