1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2026-01-27 22:27:11 +00:00

reinstate error handlers; better DB error reporting on failed queries

This commit is contained in:
Andrew Dolgov
2013-04-17 16:05:52 +04:00
parent 404e2e3603
commit aca75cb5cb
6 changed files with 17 additions and 20 deletions

View File

@@ -1,7 +1,6 @@
<?php
interface IDb {
function connect($host, $user, $pass, $db, $port);
function init();
function escape_string($s, $strip_tags = true);
function query($query, $die_on_error = true);
function fetch_assoc($result);