mirror of https://github.com/dnomd343/tgbot
Dnomd343
3 years ago
5 changed files with 25 additions and 30 deletions
@ -0,0 +1,12 @@ |
|||||
|
<?php |
||||
|
|
||||
|
class SqliteDB extends SQLite3 { // Sqlite3数据库 |
||||
|
public function __construct($filename) { |
||||
|
$this->open($filename); |
||||
|
} |
||||
|
public function __destruct() { |
||||
|
$this->close(); |
||||
|
} |
||||
|
} |
||||
|
|
||||
|
?> |
Loading…
Reference in new issue