Заменяем creole на pdo, убрал зависимость от h2o
This commit is contained in:
parent
3c2e614d87
commit
1223d54573
99 changed files with 2 additions and 16962 deletions
|
|
@ -17,13 +17,13 @@ class Controller_Front extends Controller
|
|||
|
||||
public function __construct(Settings $_registry, $_shortcut)
|
||||
{
|
||||
require_once 'creole/Creole.php';
|
||||
require_once 'core/database_pdo.php';
|
||||
parent::__construct();
|
||||
$registry = $_registry;
|
||||
$this->_registry = $_registry;
|
||||
$this->_shortcut = $_shortcut;
|
||||
|
||||
$this->db = Creole::getConnection($registry->readKey(array('system', 'dsn')));
|
||||
$this->db = Database::getConnection($registry->readKey(array('system', 'dsn')));
|
||||
$this->installer = new Installer($_registry);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue