<?php
/*
This file is part of Thomas Bley's moregroupware webmail2/calendar2/admin2 module. (tb-mgw)

More information:
-----------------

Simple Groupware Solutions Thomas Bley
Fichtenstr. 23
Germany, 85640 Putzbrunn

Contact:
--------

info@simple-groupware.de

http://www.simple-groupware.de


Copyright 2002-2003 Thomas Bley
tb-mgw is distributed under the terms of the GNU General Public License 

tb-mgw is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.

tb-mgw is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with tb-mgw; if not, write to the Free Software
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
*/

// Init.inc
// Moregroupware.org


// jared-2002.10.30, I want to make sure my published calendars are world-read/writeable
// so I have this making sure they all are. This should be commented out/deleted
// for shipping versions. This is a convenience so when I commit, changes are made and
// I don't get errors.

// uncomment when developing, comment for shipping version
// error_reporting (E_ALL);

include(CAL2_INC_DIR.'error.php');

$colors = array("","#6699CC","#FFA500","steelblue","darkred","darkblue","gray","magenta","blue","green","yellowgreen","black","red","brown","saddlebrown","purple","olive","teal","lightslateblue");

if (!isset($getdate)) {
	if (isset($_GET["getdate"]) && ($_GET["getdate"] !== "")) {
		$getdate = $_GET["getdate"];
	} else {
		$getdate = date("Ymd");
	}
}

if (@ini_get("max_execution_time") < 60) @ini_set("max_execution_time", "60");

?>