ADD ThinkPHP version detection

Signed-off-by: Richard Lea <chigix@zoho.com>