Changeset 378 for trunk/admin
- Timestamp:
- Oct 3, 2022, 5:35:26 PM (2 years ago)
- Location:
- trunk/admin
- Files:
-
- 1 added
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/admin/admin.php
r377 r378 206 206 $_SESSION['ed_user']=$row['ed_user']; 207 207 $multicomune=$row['multicomune']; 208 } 208 } 209 if(!isset($_SESSION['aggiornamento']) and isset($_SESSION['aid']) and ChiSei(0)==256) 210 { 211 $sql="SELECT COLUMN_NAME 212 FROM INFORMATION_SCHEMA.COLUMNS 213 WHERE TABLE_SCHEMA = '$dbname' 214 AND TABLE_NAME = '".$prefix."_config' 215 AND COLUMN_NAME = 'aggiornamento'"; 216 $sth = $dbi->prepare($sql); 217 $sth->execute(); 218 if($sth->rowCount()) 219 { 220 $sth = $dbi->prepare("select aggiornamento from ".$prefix."_config"); 221 $sth->execute(); 222 list($agg)=$sth->fetch(PDO::FETCH_NUM); 223 $_SESSION['aggiornamento']=$agg; 224 if($agg) include('aggiornamento.php'); 225 }else{ 226 $sql="ALTER TABLE `soraldo_config` ADD `aggiornamento` ENUM('0','1','2') CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL DEFAULT '2' AFTER `ed_user`;"; 227 $sth = $dbi->prepare($sql); 228 $sth->execute(); 229 } 230 } 209 231 //fine 210 232 if (isset($param['tema'])) $_SESSION['tema']=$param['tema']; -
trunk/admin/versione.php
r377 r378 1 1 <?php 2 2 3 $versione = "3.0 rev 37 7";3 $versione = "3.0 rev 378"; 4 4 $version_number = $versione; 5 $datarel = " 28 settembre 2022";5 $datarel = "03 ottobre 2022"; 6 6 $version = "Eleonline $version_number (<i>Data Release: $datarel</i>)"; 7 7
Note:
See TracChangeset
for help on using the changeset viewer.