summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--App/database/Insert.php4
-rw-r--r--App/database/dbSetup.php2
-rw-r--r--index.php2
-rw-r--r--js/master.js2
4 files changed, 3 insertions, 7 deletions
diff --git a/App/database/Insert.php b/App/database/Insert.php
index ab86a0c..9c4428d 100644
--- a/App/database/Insert.php
+++ b/App/database/Insert.php
@@ -10,9 +10,7 @@ namespace App\database;
class Insert extends dbSetup{
- public function __destruct() {
- parent::__destruct();
- }
+
/**
* @param String $title
* @param String $detail
diff --git a/App/database/dbSetup.php b/App/database/dbSetup.php
index 71fdc78..30bbe42 100644
--- a/App/database/dbSetup.php
+++ b/App/database/dbSetup.php
@@ -12,7 +12,7 @@ namespace App\database;
class dbSetup
{
private $db;
- private $server = "rickardhforslund.se";
+ private $server = "home.rickfo.se";
private $username = "brolaugh";
private $password = "rickardh";
private $database = "brolaugh_tasklist";
diff --git a/index.php b/index.php
index ca99dec..b6a7714 100644
--- a/index.php
+++ b/index.php
@@ -12,8 +12,6 @@ include_once("Helper.php");
<!DOCTYPE html>
<html>
<head>
- <link rel="stylesheet" type="text/css" href="//fonts.googleapis.com/css?family=Roboto:300,400,500,700">
- <link rel="stylesheet" type="text/css" href="//fonts.googleapis.com/icon?family=Material+Icons">
<link rel="stylesheet" href="css/bootstrap.min.css" charset="utf-8">
<meta charset="utf-8">
<title>TaskList</title>
diff --git a/js/master.js b/js/master.js
index eca9ee7..be75747 100644
--- a/js/master.js
+++ b/js/master.js
@@ -24,7 +24,7 @@ function addTask(){
};
xmlhttp.open("POST", "App/formhandler/add_listitem.php", true);
xmlhttp.setRequestHeader("Content-type", "application/x-www-form-urlencoded");
- xmlhttp.send("tasktitle="+tasktitle+"&taskbody="+taskperson+"&taskperson="+taskperson);
+ xmlhttp.send("tasktitle="+tasktitle+"&taskbody="+taskbody+"&taskperson="+taskperson);
}
function getLastTask(){
var xmlhttp = new XMLHttpRequest();