This commit is contained in:
Hannes Magnusson 2009-05-18 13:52:05 +00:00
parent 5230623695
commit 9cbd6d638c

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"