Use DB class instead of Settings class where advanced settings functions are not used

This commit is contained in:
DariusIII
2016-09-20 10:37:19 +02:00
parent 1f0817044b
commit 968c05e75e
76 changed files with 203 additions and 194 deletions
+2 -2
View File
@@ -3,11 +3,11 @@
require_once realpath(dirname(dirname(dirname(__DIR__))) . DIRECTORY_SEPARATOR . 'bootstrap.php');
use nntmux\db\Settings;
use nntmux\db\DB;
use nntmux\Games;
$pdo = new Settings();
$pdo = new DB();
$game = new Games(['Echo' => true, 'Settings' => $pdo]);
$res = $pdo->query(