codeguy/Slim — pull request #956 by karpachev (2014-12-09 09:21:16+00:00)
Title: app_engine_support

On Google App engine the $_SERVER['SERVER_PORT'] is not defined.. and as a result Slim does not work. Workaraund is to define it in your application.

This patch will check if this variable is defined(Slim/Environment.php). If not - will use default of 80. Works beautifully on App engine.