Show
Ignore:
Timestamp:
06/25/09 15:30:38 (3 years ago)
Author:
benoitg
Message:

* Fix #574
* Fix bug introduced in 2009-06-23 patch for signing up new users.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/wifidog-auth/wifidog/include/schema_validate.php

    r1393 r1395  
    6969    catch (Exception $e) { 
    7070        /* Be quiet */ 
    71     } 
    72  
    73     if (empty ($row)) { 
    7471        echo "<html><body>"; 
    7572        echo "<h1>" . _("I am unable to retrieve the schema version. Either the wifidog database hasn't been created yet, the postgresql server is down, or pg_hba.conf does not allow your web server to connect to the wifidog database.") . "</h1>"; 
    76  
     73        echo "<h2>Error was: ". $e->getMessage() . "</h2>"; 
    7774        echo "<h2>" . _("Try running the") . " <a href='" . BASE_URL_PATH . "install.php'>" . _("installation script") . "</a>.</h2>\n"; 
    7875        echo "</html></body>"; 
    7976        exit (); 
     77    } 
     78 
     79    if (empty ($row)) { 
     80 
    8081    } 
    8182    else {