ahri / ahriphplibs

My PHP Libraries
http://ahri.net
GNU Affero General Public License v3.0
3 stars 0 forks source link

Nicer SQL errors #27

Closed ahri closed 14 years ago

ahri commented 14 years ago

use (php_sapi_name() == 'cli') to test what the output will be, and make nicer, more spaced out errors for both cli and web.

ahri commented 14 years ago

Alter DB errors so they're a bit more readable. Closed by f886bbd09f9b92b3dddf34b67f7c093b37d705f3