Skip to content

Commit

Permalink
scroll ref to constants
Browse files Browse the repository at this point in the history
  • Loading branch information
sarcasticadmin committed Mar 7, 2024
1 parent b358e47 commit 561d4f5
Showing 1 changed file with 1 addition and 10 deletions.
11 changes: 1 addition & 10 deletions server/scroll.php
Original file line number Diff line number Diff line change
@@ -1,13 +1,6 @@
<?php

date_default_timezone_set('America/Los_Angeles');

# set yearly (change if DST starts during SCaLE)
# before "spring forward"

# after "spring forward"
# 21x
$starttime = mktime(0, 0, 0, 3, 14, 2024) / 60;
include 'constants.php';

// Turn off all error reporting
error_reporting(0);
Expand All @@ -21,8 +14,6 @@
$xmlresponse = curl_exec($ch);
$xml = simplexml_load_string($xmlresponse);



#if (!empty($_GET["year"]) && !empty($_GET["month"]) && !empty($_GET["day"]) && !empty($_GET["hour"]) && !empty($_GET["minute"])) {
if (!empty($_GET["year"]) && !empty($_GET["month"]) && !empty($_GET["day"])) {
$year = $_GET['year'];
Expand Down

0 comments on commit 561d4f5

Please sign in to comment.