This commit is contained in:
Hannes Magnusson 2009-05-18 13:52:16 +00:00
parent befe469770
commit ebf4c8ddb8

View File

@ -9,12 +9,14 @@ Jelle Lampaert
<?php <?php
try { try {
$db = new SQLite3('db1.db'); $db = new SQLite3(__DIR__ . '/db1.db');
$db->open('db1.db'); $db->open(__DIR__ . '/db1.db');
} catch (Exception $ex) { } catch (Exception $ex) {
var_dump($ex->getMessage()); var_dump($ex->getMessage());
} }
?> ?>
--CLEAN--
<?php @unlink(__DIR__ . '/db1.db'); ?>
--EXPECTF-- --EXPECTF--
%string|unicode%(29) "Already initialised DB Object" %string|unicode%(29) "Already initialised DB Object"