circa75/dropplets — pull request #224 by rubenvarela (2013-08-21 15:17:01+00:00)
Title: Alternate Port bug

The current `index.php` wouldn't store in the `config.php` the port of where the installation was running.

It would store in the `config.php` the following:
```php
$blog_url = "http://localhost/";
```

instead of
```php
$blog_url = "http://localhost:8888/";
```

I got all of the components individually and added the port.

If the protocol is HTTP and it's running on port 80, it won't add the port. The same for HTTPS if it's running on 443.