initialize ThinkPHP framework