--- a/include/common.inc.php +++ b/include/common.inc.php @@ -1,19 +1,15 @@ <?php date_default_timezone_set('Australia/ACT'); -$APIurl = "http://localhost:8765"; $debugOkay = Array( "session", "json", "phperror", - //"awsgtfs", "awsotp", //"squallotp", //"vanilleotp", + "database", "other" ); -if (isDebug("awsgtfs")) { - $APIurl = "http://bus-main.lambdacomplex.org:8765"; -} $cloudmadeAPIkey = "daa03470bb8740298d4b10e3f03d63e6"; $googleMapsAPIkey = "ABQIAAAA95XYXN0cki3Yj_Sb71CFvBTPaLd08ONybQDjcH_VdYtHHLgZvRTw2INzI_m17_IoOUqH3RNNmlTk1Q"; $otpAPIurl = 'http://localhost:8080/opentripplanner-api-webapp/'; @@ -31,8 +27,8 @@ include_once ("common-geo.inc.php"); include_once ("common-net.inc.php"); include_once ("common-transit.inc.php"); - include_once ("common-session.inc.php"); +include_once ("common-db.inc.php"); include_once ("common-template.inc.php"); function isDebugServer()