]> git.andy128k.dev Git - ipf.git/commitdiff
cleanup
authorAndrey Kutejko <andy128k@gmail.com>
Sun, 17 Aug 2014 06:08:10 +0000 (09:08 +0300)
committerAndrey Kutejko <andy128k@gmail.com>
Sun, 17 Aug 2014 06:08:10 +0000 (09:08 +0300)
ipf/command/migrate.php
ipf/http/response/servererror.php

index dda72ea567b219db614ca389dbd88478e4357f2e..cb6b949770193ee625e0ce1eef145445ac2df298 100644 (file)
@@ -14,7 +14,7 @@ class IPF_Command_Migrate
             $paths[] = $app->getPath() . 'migrations';
         }
 
-        $connection = IPF_ORM_Manager::connection()->getDbh();
+        $connection = \PFF\Container::databaseConnection();
         $m = new \PFF\Migrations\Migrations;
         $m->migrate($connection, $paths);
     }
index 80a57a4b82c7afcde179d06d6696e6bf4fe81826..3c9717b90e62947acaa2eb06bda9794d066432b6 100644 (file)
@@ -4,7 +4,7 @@ class IPF_HTTP_Response_ServerError extends IPF_HTTP_Response
 {
     function __construct($e, $mimetype=null)
     {
-        parent::__construct('<h1>500 Server Error</h1><p>Our apologies</p><p>Please return later</p>', $mimetype);
+        parent::__construct('<h1>500 Server Error</h1><p>Our apologies&hellip;</p><p>Please return later</p>', $mimetype);
         $this->status_code = 500;
     }
 }