- cleaned up some code
- added DataLoader - added assetDir - splitted modules and controller namespace
This commit is contained in:
parent
d3d889dc4c
commit
21977588d8
18 changed files with 263 additions and 41 deletions
4
src/Venom/Core/DatabaseHandler.php
Normal file → Executable file
4
src/Venom/Core/DatabaseHandler.php
Normal file → Executable 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);
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue