change global.php to local.php
Merge remote-tracking branch 'origin/pr/1275'

Close #1275