Primo import
This commit is contained in:
@@ -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;
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user