aboutsummaryrefslogtreecommitdiffhomepage
path: root/index.php
diff options
context:
space:
mode:
authornicosomb <nicolas@loeuillet.org>2013-04-04 20:12:50 +0200
committernicosomb <nicolas@loeuillet.org>2013-04-04 20:12:50 +0200
commita590ea55c2422cd0b11fb60e64275ad7e4f6bd26 (patch)
treeb1939bd3d7594bd2cf617f034b5aa1d5eb94ae24 /index.php
parent5917f41972c038a125c054da1d7ae172fc3bd9d5 (diff)
downloadwallabag-a590ea55c2422cd0b11fb60e64275ad7e4f6bd26.tar.gz
wallabag-a590ea55c2422cd0b11fb60e64275ad7e4f6bd26.tar.zst
wallabag-a590ea55c2422cd0b11fb60e64275ad7e4f6bd26.zip
déplacement de la base de données et explication dans le README pour sécuriser ce fichier
Diffstat (limited to 'index.php')
-rwxr-xr-xindex.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/index.php b/index.php
index be1ebef9..a27f1993 100755
--- a/index.php
+++ b/index.php
@@ -25,7 +25,7 @@
25 25
26try 26try
27{ 27{
28 $db_handle = new PDO('sqlite:poche.sqlite'); 28 $db_handle = new PDO('sqlite:db/poche.sqlite');
29 $db_handle->setAttribute(PDO::ATTR_ERRMODE, PDO::ERRMODE_EXCEPTION); 29 $db_handle->setAttribute(PDO::ATTR_ERRMODE, PDO::ERRMODE_EXCEPTION);
30} 30}
31catch (Exception $e) 31catch (Exception $e)