Ticket #29 (assigned Bug report: Fixed) — at Initial Version

Opened 15 years ago

Last modified 14 years ago

schema_validate() call is misplaced

Reported by: fproulx Owned by: benoitg
Priority: normal Milestone: WifiDog Auth Server 1.0
Component: Auth server, Other Version: v1.0 (example)
Keywords: Cc:

Description

schema_validate call should not be in common.php, since
it might potentially break ping and auth request from
gateways. It should be moved from common.php ( see
below ) to MainUI class, since it a matter of UI anyway.

Patch
****************
-   require_once BASEPATH.'include/schema_validate.php';
=  global $db;
=  $db = new AbstractDb();
-   validate_schema();
****************

Add to MainUI
Note: See TracTickets for help on using tickets.