View Single Post
Old 2nd August 2011, 14:20
erosbk erosbk is offline
Senior Member
Join Date: Mar 2011
Posts: 337
Thanks: 49
Thanked 36 Times in 30 Posts

2 Ago 2011: Modifications (code in first post has been modified)

cron_daily.php. Added check for not copy index.php, because is not needed.

in index.php, month has now +1-1. If you use date("m") it will return 08, if you REST 1 to that date, it will cut off the zero and you will have 7... I am a little ignorant about how to resolve this, so... if sum/rest 1 to moth to everytime get month with one char and not with zero :P. This was making problems with drop down list.

Please, be my guess to improve this code xD
Reply With Quote