--- alx-src/branches/alx-web-060/show.php 2011/07/06 10:15:09 2598 +++ alx-src/branches/alx-web-060/show.php 2011/07/06 10:28:40 2599 @@ -67,7 +67,15 @@ } $drop['hostname'] = 'bold'; $drop['session'] = 'bold'; -$drop['cfg_autostart_session'] = 'filename'; +if($alxos>='0.6.0') +{ + $drop['cfg_autostart_session'] = array(''); + $drop['cfg_autostart_session'] += sqlarr('SELECT filename FROM cfg_sessions where serial='.$id, 'array', 'filename'); +} +else +{ + $drop['cfg_autostart_session'] = 'filename'; +} $drop['mtime'] = 'showtime'; $drop['mac'] = 'show'; $drop['client_serials_serial'] = 'show'; @@ -145,8 +153,10 @@ } } } -} + // reload site + header("location: show.php?id=".$id); +} // EINLESEN DER DATEN AUS SQL-TABELLEN foreach($tabs as $k=>$t)