diff --git a/readme.md b/readme.md index 6397287c..99c57810 100644 --- a/readme.md +++ b/readme.md @@ -8,6 +8,7 @@ The [phphub.org](http://phphub.org) site is entirely open source, and community If you have any questions please don't hesitate to ask them in an issue or email me at phphub.org@gmail.com. [![Build Status](https://api.travis-ci.org/summerblue/phphub.svg?branch=master)](https://travis-ci.org/summerblue/phphub) +[![Code Climate](https://codeclimate.com/github/summerblue/phphub/badges/gpa.svg)](https://codeclimate.com/github/summerblue/phphub) ### Screen Shots diff --git a/server.php b/server.php index 5f187f34..dfdf3bcd 100644 --- a/server.php +++ b/server.php @@ -11,7 +11,7 @@ // This file allows us to emulate Apache's "mod_rewrite" functionality from the // built-in PHP web server. This provides a convenient way to test a Laravel // application without having installed a "real" web server software here. -if ($uri !== '/' and file_exists($requested)) +if ($uri !== '/' && file_exists($requested)) { return false; }