add .gitignore file
modify main.php,add log,cache,urlManager,mysqlDB connfig