- cleaned up some code

- added DataLoader
- added assetDir
- splitted modules and controller namespace
This commit is contained in:
Maurice Grönwoldt 2020-09-20 17:15:20 +02:00
commit 21977588d8
18 changed files with 263 additions and 41 deletions

4
src/Venom/Core/DatabaseHandler.php Normal file → Executable file
View file

@ -66,9 +66,9 @@ class DatabaseHandler
return $stmt->fetchAll();
}
public function execute(string $query, array $args): void
public function execute(string $query, array $args): bool
{
$stmt = $this->db->prepare($query);
$stmt->execute($args);
return $stmt->execute($args);
}
}