the earliest she can apply for an ILR is 28 days before her second year in the UK which is:
arrival date = 12/10/07
2nd year anniversary = 12/10/09
2nd year anniversary -28 days = 14/9/09
LTR visa expiration = 19/9/09