Setting $app variable to protected, which may be useful for 0c18498c
Merge pull request #1137 from xiaohutai/master

Setting $app variable to protected, which may be useful for 0c18498c