Changeset 381 for trunk/admin/admin.php
- Timestamp:
- Oct 28, 2022, 7:14:26 PM (2 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/admin/admin.php
r380 r381 277 277 if(!isset($_SESSION['localrev']) and isset($_SESSION['aid']) and ChiSei(0)==256) 278 278 { 279 /*$sql="SELECT COLUMN_NAME279 $sql="SELECT COLUMN_NAME 280 280 FROM INFORMATION_SCHEMA.COLUMNS 281 281 WHERE TABLE_SCHEMA = '$dbname' … … 284 284 $sth = $dbi->prepare($sql); 285 285 $sth->execute(); 286 if( !$sth->rowCount())286 if($sth->rowCount()) 287 287 { 288 $sql="ALTER TABLE `soraldo_config` ADD `aggiornamento` ENUM('0','1','2') CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL DEFAULT '1' AFTER `ed_user`;";288 $sql="ALTER TABLE `soraldo_config` DROP `aggiornamento`;"; 289 289 $sth = $dbi->prepare($sql); 290 290 $sth->execute(); 291 291 } 292 $sth = $dbi->prepare("select aggiornamento from ".$prefix."_config");292 /* $sth = $dbi->prepare("select aggiornamento from ".$prefix."_config"); 293 293 $sth->execute(); 294 294 list($agg)=$sth->fetch(PDO::FETCH_NUM);
Note:
See TracChangeset
for help on using the changeset viewer.