Fixed error in Error Log under Windows

https://www.php-fusion.co.uk/forum/viewthread.php?thread_id=34815