change hardcoded website information to config/base.php

use config/base.php for project user to set their own website information.
and fix relative hardcoded code.

用 config/base.php 使得项目用户可以设置设置自己的网站信息。
同时修复了相关的硬编码。