1
0
Fork 0
mirror of https://github.com/wallabag/wallabag.git synced 2025-09-15 18:57:05 +00:00

test if /install exists

This commit is contained in:
Nicolas Lœuillet 2013-08-08 09:11:12 +02:00
parent 7aa8ccc47d
commit ed06f04077
4 changed files with 12 additions and 3 deletions

View file

@ -1,5 +1,5 @@
<?php
# import script to upgrade from poche 0.3
$db_path = 'sqlite:../db/poche.sqlite';
$handle = new PDO($db_path);
$handle->setAttribute(PDO::ATTR_ERRMODE, PDO::ERRMODE_EXCEPTION);