Add a check that makes sure PDO is available
authorPaul Arthur <paul.arthur@flowerysong.com>
Sun, 3 Feb 2013 07:35:13 +0000 (02:35 -0500)
committerPaul Arthur <paul.arthur@flowerysong.com>
Sun, 3 Feb 2013 07:35:13 +0000 (02:35 -0500)
commit675fd21cf145ff882463d604fe9e4bf9defa256e
tree394a8fbc073b1e7bda9de012e88b627247d20e58
parentab1856901367eab3ee390047f7829bdabfd2410d
Add a check that makes sure PDO is available

Calling an unavailable class is a fatal error, so people without PDO
were left with a fairly useless blank screen and no indicator of what
was wrong. Let's be a bit more user-friendly.
lib/debug.lib.php
lib/init.php
templates/show_test.inc.php