|
From: Brad S. <sc...@us...> - 2007-09-06 12:53:20
|
Update of /cvsroot/offl/offl/www/upgrade In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv19466 Added Files: Tag: 1.0 upgrade-2007season.php Log Message: Upgrade for 2007 season. --- NEW FILE: upgrade-2007season.php --- <?php /** * Upgrade script for OFFL 0.2.3 (run on 0.2.x) * * This patch upgrades an OFFL 0.2.x install to OFFL 0.2.3. Notable changes include additional * game fields for description and playoff status. * * @author Stephen Rochelle <lo...@lo...> * @version OFFL v0.2 * @copyright Copyright (c) 2004 Stephen Rochelle. Some rights reserved. * @package offl-ui */ $pageTitle = ""; require_once("../offlconfig.php"); require_once($DOC_ROOT . "/lib/classes/offl_dbobject.php"); // gets database object for upgrading the DB. $fix = new OFFL_DBObject(); $fix->SQLQuery("INSERT INTO `control` ( `control_key` , `control_value` , `control_desc` , `control_allowed_values` , `league_id` , `all_leagues` ) VALUES ('MISC_SEASON_START_2007', '2007-09-04 03:00:00', 'Should be set to the Tuesday or Wednesday prior to the first game. Governs `control` of current week relative to the NFL.', NULL , '0', '1')"); echo "<p>2007 NFL season start date has been configured successfully.</p>"; exit(); ?> |