Graham Bayne has been given the chance to prove his fitness before Dunfermline offer him a longer-term deal.
The Dunfermline striker has been struggling all season to overcome a painful inflammatory condition in his right foot.
Bayne, who turned 30 this year, has not featured in manager Jim McIntyre’s side since November.
McIntyre said, “We’ve agreed a short-term deal with Graham to give him a chance to prove his fitness.”
Bayne insisted he was grateful for the opportunity, adding, “It’s short-term initially, but if I overcome my injury in the next few months it will become longer-term.
“In the current climate, that’s really fantastic.”
The Kirkcaldy-born hitman, who began his career with Dundee, revealed he has been suffering from plantar fasciitis.
The condition involves the inflammation of connective tissues along the bottom of the foot and can be extremely painful.
Bayne said, “Actually, I’m sick of hearing how long it can last.
“Sometimes it goes away in a few weeks and other times it can go on for two years there’s no definite or foolproof way of dealing with the injury.”
He has been to a specialist in Edinburgh a number of times and finally went under the knife at the end of April after previous treatments failed.
Bayne said, “Hopefully in a few weeks’ time I’ll know how it’s gone.”
He has been keeping in touch with the club’s physio and hopes to resume training over the summer to regain his fitness in time for pre-season.
Bayne said, “Hopefully that’s the end of it now, but I’ll know more when I come to try running on it.”
Bayne joined the Pars in the summer of 2008, having played for Dundee, Dunfermline’s arch-rivals Raith Rovers, Arbroath, Ross County and Inverness.
As well as Bayne, McIntyre has just signed influential midfielder Alex Burke and goalkeeper Greg Paterson who is recovering from a broken leg on one-year deals.
The Pars boss has already signed midfielder Gary Mason for another season.
Out so far are Stephen Glass, Scott Muirhead, Ross Campbell, Graham Holmes and Greg Ross.