aboutsummaryrefslogtreecommitdiffhomepage
path: root/install/update_sqlite_from_0_to_1.php
diff options
context:
space:
mode:
authorNicolas LÅ“uillet <nicolas.loeuillet@gmail.com>2013-08-08 09:11:12 +0200
committerNicolas LÅ“uillet <nicolas.loeuillet@gmail.com>2013-08-08 09:11:12 +0200
commited06f040776d5e2f38b938005ebc2b09ddd41bd4 (patch)
tree898818d8ee3127a3c9e930ad839be03c9626fd9b /install/update_sqlite_from_0_to_1.php
parent7aa8ccc47d511f62fc46af53f7fc43d9bedebff3 (diff)
downloadwallabag-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.php2
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);