Fixed password reset error occuring. Relative file names were being wrongly evaluated, so it now uses an absolute file name obtained using dirname(__FILE__)