diff options
author | Nicolas LÅ“uillet <nicolas.loeuillet@gmail.com> | 2013-08-08 09:11:12 +0200 |
---|---|---|
committer | Nicolas LÅ“uillet <nicolas.loeuillet@gmail.com> | 2013-08-08 09:11:12 +0200 |
commit | ed06f040776d5e2f38b938005ebc2b09ddd41bd4 (patch) | |
tree | 898818d8ee3127a3c9e930ad839be03c9626fd9b /install/update_sqlite_from_0_to_1.php | |
parent | 7aa8ccc47d511f62fc46af53f7fc43d9bedebff3 (diff) | |
download | wallabag-ed06f040776d5e2f38b938005ebc2b09ddd41bd4.tar.gz wallabag-ed06f040776d5e2f38b938005ebc2b09ddd41bd4.tar.zst wallabag-ed06f040776d5e2f38b938005ebc2b09ddd41bd4.zip |
test if /install exists
Diffstat (limited to 'install/update_sqlite_from_0_to_1.php')
-rw-r--r-- | install/update_sqlite_from_0_to_1.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/install/update_sqlite_from_0_to_1.php b/install/update_sqlite_from_0_to_1.php index c88af540..299abf48 100644 --- a/install/update_sqlite_from_0_to_1.php +++ b/install/update_sqlite_from_0_to_1.php | |||
@@ -1,5 +1,5 @@ | |||
1 | <?php | 1 | <?php |
2 | 2 | # import script to upgrade from poche 0.3 | |
3 | $db_path = 'sqlite:../db/poche.sqlite'; | 3 | $db_path = 'sqlite:../db/poche.sqlite'; |
4 | $handle = new PDO($db_path); | 4 | $handle = new PDO($db_path); |
5 | $handle->setAttribute(PDO::ATTR_ERRMODE, PDO::ERRMODE_EXCEPTION); | 5 | $handle->setAttribute(PDO::ATTR_ERRMODE, PDO::ERRMODE_EXCEPTION); |