While you're here, please consider supporting GamingOnLinux on:
Reward Tiers: Patreon. Plain Donations: PayPal.
This ensures all of our main content remains totally free for everyone! Patreon supporters can also remove all adverts and sponsors! Supporting us helps bring good, fresh content. Without your continued support, we simply could not continue!
You can find even more ways to support us on this dedicated page any time. If you already are, thank you!
Reward Tiers: Patreon. Plain Donations: PayPal.
This ensures all of our main content remains totally free for everyone! Patreon supporters can also remove all adverts and sponsors! Supporting us helps bring good, fresh content. Without your continued support, we simply could not continue!
You can find even more ways to support us on this dedicated page any time. If you already are, thank you!
Login / Register
- Unofficial PC port of Zelda: Majora's Mask, 2 Ship 2 Harkinian has a big new release out
- Steam Controller 2 is apparently a thing and being 'tooled for a mass production' plus a new VR controller
- Half-Life: Blue Shift remake mod Black Mesa: Blue Shift - Chapter 5: Focal Point released
- Linux kernel 6.12 is out now with real-time capabilities, more gaming handheld support
- Steam Deck OLED: Limited Edition White and Steam Deck Australia have launched
- > See more over 30 days here
-
The Sci-Fi Shooters Humble Bundle is a top deal with Sy…
- tuubi -
The Sci-Fi Shooters Humble Bundle is a top deal with Sy…
- ElectricPrism -
S.T.A.L.K.E.R. 2: Heart of Chornobyl review - works on …
- Shmerl -
S.T.A.L.K.E.R. 2: Heart of Chornobyl review - works on …
- Xpander -
The Sci-Fi Shooters Humble Bundle is a top deal with Sy…
- Technopeasant - > See more comments
- What do you want to see on GamingOnLinux?
- Ehvis - Weekend Players' Club 11/22/2024
- Xpander - Types of programs that are irritating
- Cyril - Our own anti-cheat list
- Liam Dawe - Spare gog keys
- on_en_a_gros - See more posts
Details here: https://gitlab.com/liamdawe/gamingonlinux/issues/379
Last edited by Liam Dawe on 7 December 2019 at 10:54 am UTC
View PC info
*snip* - plz, no - liam
Last edited by Liam Dawe on 8 December 2019 at 8:37 pm UTC
View PC info
As a sidenote, it looks like your cake day code doesn't account for February 29th accounts on non-leap years. I think changing line 577 to this would handle it on March 1st but I'm a bit rusty:
if ((($reg_month == date('m') && $reg_day == date('d')) || ($reg_month == "02" && $reg_day == "29" && date('m') == "03" && date('d') == "01")) && $reg_year != date('Y'))
Hmmm, odd, never even though of that. Don't see why it wouldn't work though, it's doing a real basic comparison directly against a timestamp parsed with PHP's date.
EDIT: Switched over the cake-day comparison to use PHP's DATETIME diff, should solve any leap year stuff and works nicer anyway.
Last edited by Liam Dawe on 8 December 2019 at 8:33 pm UTC
View PC info
View cookie preferences.
Accept & Show Accept All & Don't show this again Direct Link
View PC info