mirror of
https://codeberg.org/vlw/php-sqlite.git
synced 2025-09-13 12:43:40 +02:00
fix: root namespace for sqlite3 exceptions (#2)
This commit is contained in:
parent
3b24c605c9
commit
cc3a5493c1
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