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

Forward port #1275