Changeset 246 for trunk/admin/admin.php


Ignore:
Timestamp:
Jan 27, 2016, 8:51:18 PM (8 years ago)
Author:
luc
Message:

Corretti piccoli bug al tema Futura2

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/admin/admin.php

    r230 r246  
    118118  // gestione sessione
    119119
    120 if (file_exists("config.php")) @require_once("config.php"); else $install="1";
    121 
     120if (file_exists("config.php")){
     121        $install="0"; @require_once("config.php");
     122}else{
     123        $install="1";
     124}
    122125
    123126
    124127# verifica se effettuata la configurazione
    125 if(empty($dbname) || $istall=="1") {
     128if(empty($dbname) || $install=="1") {
    126129    die("<html><body><div style=\"text-align:center\"><br /><br /><img src=\"modules/Elezioni/images/logo.jpg\" alt=\"Eleonline\" title=\"Eleonline\"><br /><br /><strong>Sembra che <a href='http://www.eleonline.it' title='Eleonline'>Eleonline</a> non sia stato ancora installato.<br /><br />Puoi procedere <a href='../install/index.php'>cliccando qui</a> per iniziare l'installazione</strong></div></body></html>");
    127130}
Note: See TracChangeset for help on using the changeset viewer.