Changeset 376 for trunk/install/install4.php
- Timestamp:
- Sep 24, 2022, 1:11:18 PM (2 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/install/install4.php
r253 r376 137 137 138 138 if ($sitename) { 139 if (!get_magic_quotes_gpc()) {139 # if (!get_magic_quotes_gpc()) { 140 140 $configArray['sitename'] = addslashes($sitename); 141 } else {142 $configArray['sitename'] = $sitename;143 }141 # } else { 142 # $configArray['sitename'] = $sitename; 143 # } 144 144 } else { 145 145 echo "<form name=\"stepBack\" method=\"post\" action=\"install3.php\"> … … 310 310 $query = "INSERT INTO {$configArray['DBPrefix']}_ele_comuni VALUES ('$istat', '$nomecomune', '','','','','$Limite','$Capoluogo','','','0','')"; 311 311 $database->exec( $query ); 312 } catch(PDOException $e) { }312 } catch(PDOException $e) { die("$query");} 313 313 $query = "UPDATE {$configArray['DBPrefix']}_config SET sitename='$sitename', siteurl='$siteUrl', adminmail='$adminEmail', tema='$tema', foot='',language='$Lingua',blocco='$blocco',fileout='$Replica',Versione='3', siteistat='$istat',multicomune='$Multicomune',flash='$flash', tema_on='$sceltatema' WHERE sitename=''"; 314 314
Note:
See TracChangeset
for help on using the changeset viewer.