diff options
author | V.Krishn <vkrishn@insteps.net> | 2024-11-02 06:45:04 +0530 |
---|---|---|
committer | V.Krishn <vkrishn@insteps.net> | 2024-11-02 06:45:04 +0530 |
commit | 07de84fbe269c727d64e1934444417a38a80e51e (patch) | |
tree | add8f6ba29f1cb5854e434d288063c12aafa8e2d | |
parent | 7d23b9f2c1b47b563845992ecf01249e818a1688 (diff) | |
download | scripts-dev.tar.bz2 |
-rw-r--r-- | alpine/irc/log/ircdaily.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/alpine/irc/log/ircdaily.php b/alpine/irc/log/ircdaily.php index 2078d03..725bac7 100644 --- a/alpine/irc/log/ircdaily.php +++ b/alpine/irc/log/ircdaily.php @@ -21,9 +21,9 @@ $arr_logname = explode('.', $scriptname); $logname = $arr_logname[0]; $YYMM = date('Y-m'); -$date = 1; +$date = 0; if (! empty($_GET['dt'])) { $date = (int) $_GET['dt']; } -if ($date <= 1 || $date >= 32) $date = (int) date('d'); +if ($date <= 0 || $date >= 32) $date = (int) date('d'); if ($date <= 9) $date = '0'.$date; //print_r($logname); exit; |