aboutsummaryrefslogtreecommitdiff
path: root/insert.php
diff options
context:
space:
mode:
authorHorus32014-02-09 18:54:34 +0100
committerHorus32014-02-09 18:54:34 +0100
commitc24d0c2607d677546fd6ee5a763fc11ca0ebacab (patch)
treeb0b43e1ca97498586368f5267cbca19c0478950e /insert.php
parent6f1e9787e6c15721ee7792061faa0b62c893cab7 (diff)
downloadjungegemeinde-c24d0c2607d677546fd6ee5a763fc11ca0ebacab.tar.gz
removed hard coded stuff
Diffstat (limited to 'insert.php')
-rw-r--r--insert.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/insert.php b/insert.php
index cca6118..856c0b8 100644
--- a/insert.php
+++ b/insert.php
@@ -2,7 +2,7 @@
include("header.php");
if ($_SERVER['REQUEST_METHOD'] == 'POST') {
- $db = new SQLite3('/var/www/jungegemeinde/database/jg.db');
+ $db = new SQLite3('../database/jg.db');
$safe1 = SQLite3::escapeString("$_POST[name]");
$safe2 = SQLite3::escapeString("$_POST[adresse]");