Primo import

This commit is contained in:
cmaffio
2015-10-08 11:41:53 +02:00
parent 22de29deda
commit dd934cb895
40 changed files with 431 additions and 29 deletions

View File

@@ -17,7 +17,7 @@ while( $_ = shift @ARGV ) {
$force = 1 if /^\-f$/;
}
open CONFFILE, "< $Bin/../php/config.php" or die ("Manca file di configurazione\n");
open CONFFILE, "< $Bin/../core/config.php" or die ("Manca file di configurazione\n");
while (<CONFFILE>) {
if(/^\$db_data_server = "(\S+)"/ ) {
$db_host = $1;

View File

@@ -12,7 +12,7 @@ while( $_ = shift @ARGV ) {
$messaggi = 1 if /^\-v$/;
}
open CONFFILE, "< $Bin/../php/config.php" or die ("Manca file di configurazione\n");
open CONFFILE, "< $Bin/../core/config.php" or die ("Manca file di configurazione\n");
while (<CONFFILE>) {
if(/^\$db_data_server = "(\S+)"/ ) {
$db_host = $1;