Changeset 291
- Timestamp:
- Apr 29, 2019, 4:52:13 PM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/admin/admin.php
r269 r291 205 205 $sth = $dbi->prepare("select counter,admlanguage from ".$prefix."_authors where aid='$aid' and pwd='$mpwd' and id_comune='$id_comune'"); 206 206 $sth->execute(); 207 $row = $sth->fetch(PDO::FETCH_ASSOC); 208 209 if ($sth){ 210 $esiste=$sth->rowCount(); 207 $esiste=$sth->rowCount(); 208 209 210 if ($esiste){ 211 $row = $sth->fetch(PDO::FETCH_ASSOC); 211 212 $counter=$row['counter']; 212 213 $tmplang=$row['admlanguage']; … … 380 381 $ref=$ref."&language=".$_SESSION['lang']; 381 382 382 session_cache_expire (0);383 383 $_SESSION=array(); 384 384 session_unset(); 385 385 session_destroy(); 386 session_cache_expire (0); 386 387 Header($ref); 387 388
Note:
See TracChangeset
for help on using the changeset viewer.