separata azione di generazione
This commit is contained in:
@@ -1,4 +1,11 @@
|
|||||||
<?php
|
<?php
|
||||||
|
function attiva_aggiornamento () {
|
||||||
|
global $DB_ID;
|
||||||
|
|
||||||
|
$query = "UPDATE firewall_conf SET valore = 1 WHERE variabile = 'aggiornamento'";
|
||||||
|
mysql_query( $query, $DB_ID );
|
||||||
|
}
|
||||||
|
|
||||||
function genera () {
|
function genera () {
|
||||||
|
|
||||||
$FW_conf = carica_conf ("Firewall");
|
$FW_conf = carica_conf ("Firewall");
|
||||||
|
|||||||
@@ -99,7 +99,8 @@ if (isset($_POST['regola'])) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if ($modificato) genera();
|
// if ($modificato) genera();
|
||||||
|
if ($modificato) attiva_aggiornamento();
|
||||||
}
|
}
|
||||||
|
|
||||||
$tabella = new html (0,"90%",array(15,2,30,2,5,0));
|
$tabella = new html (0,"90%",array(15,2,30,2,5,0));
|
||||||
|
|||||||
Reference in New Issue
Block a user