Fix CS lib/Alchemy

This commit is contained in:
Romain Neutron
2013-01-29 16:38:00 +01:00
parent bf470b69d7
commit 53206af159
87 changed files with 578 additions and 643 deletions

View File

@@ -30,7 +30,7 @@ class ConnectionTest implements ControllerProviderInterface
* @todo : check this as it would lead to a security issue
*/
$controllers->get('/mysql/', function(Application $app) {
$request = $app['request'];
$hostname = $request->query->get('hostname', '127.0.0.1');
$port = (int) $request->query->get('port', 3306);