Beispiel #1
0
// check to see if the parameter 'skipTables' was provided
$skipTables = isset($_REQUEST['skipTables']);
// if NOT then reset the tables...
if (!$skipTables) {
    /*
     * Ticket Table
     *
     * Manages tickets for authentication with the SPT.
     *
     * ticket_id [INTEGER]  Unique id
     * viewer_id [INTEGER]  viewer's id
     * ticket_ticket [STRING]  Ticket
     * ticket_expiry [INTEGER]  when the ticket expires
     */
    $Ticket = new RowManager_TicketManager();
    $Ticket->dropTable();
    $Ticket->createTable();
    /*[RAD_DAOBJ_TABLE]*/
} else {
    echo 'Skipping Tables ... <br>';
}
// end if !skipTables
// check to see if parameter 'skipLabel' was provided
$skipLabel = isset($_REQUEST['skipLabel']);
// if not, then add labels to DB ...
if (!$skipLabel) {
    /*
     *  Insert Labels in DB
     */
    // Create Application Upload Series
    $labelManager = new MultilingualManager();