mirror of
https://github.com/myronblair/novacpx
synced 2026-06-30 17:50:41 -05:00
Fix WordPressManager (wrong DB class) and DockerManager (sudo install)
This commit is contained in:
@@ -1,10 +1,10 @@
|
||||
<?php
|
||||
class WordPressManager {
|
||||
private PDO $db;
|
||||
private \PDO $db;
|
||||
private string $wpcli = '/usr/local/bin/wp';
|
||||
|
||||
public function __construct() {
|
||||
$this->db = Database::getInstance()->getPDO();
|
||||
$this->db = DB::getInstance()->pdo();
|
||||
$this->ensureWpCli();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user