mirror of
https://codeberg.org/vlw/php-sqlite.git
synced 2025-09-14 04:43:42 +02:00
fix: root namespace for sqlite3 exceptions
This commit is contained in:
parent
3b24c605c9
commit
d9480c2d5b
1 changed files with 1 additions and 1 deletions
|
@ -18,7 +18,7 @@
|
|||
|
||||
// Check write permissions of database
|
||||
if (!is_writeable($path)) {
|
||||
throw new Error("Permission denied: Can not write to directory '{$path}'");
|
||||
throw new \Error("Permission denied: Can not write to directory '{$path}'");
|
||||
}
|
||||
|
||||
// Database doesn't exist and an init file as been provided
|
||||
|
|
Loading…
Add table
Reference in a new issue