summaryrefslogtreecommitdiff
path: root/www
diff options
context:
space:
mode:
authorHorus32014-03-30 00:05:53 +0100
committerHorus32014-03-30 00:05:53 +0100
commit68b22caf30f9be7451c3f1473827e65737b1c1f7 (patch)
tree308cabf6b1a8f89d3f8060af0d55205312def596 /www
parentf471b2130461efa25c62dbe8b015da6219cf3498 (diff)
downloadfiles.iamfabulous.de-68b22caf30f9be7451c3f1473827e65737b1c1f7.tar.gz
Removed nonsense. Also cleaned the index.php
Diffstat (limited to 'www')
-rwxr-xr-xwww/include.php2
-rwxr-xr-xwww/index.php2
2 files changed, 2 insertions, 2 deletions
diff --git a/www/include.php b/www/include.php
index 69e6227..e24a0c3 100755
--- a/www/include.php
+++ b/www/include.php
@@ -1,5 +1,7 @@
<?php
+$db = new SQLite3("../database/sqlite.db");
+
$scheme="http://";
if(isset($_SERVER["HTTPS"])){
diff --git a/www/index.php b/www/index.php
index 841cf12..73c9b5d 100755
--- a/www/index.php
+++ b/www/index.php
@@ -3,8 +3,6 @@ session_start();
require_once("include.php"); // handles all the stuff that needs to be included
-$db = new SQLite3("../database/sqlite.db");
-
if(!isset($_SESSION["login"])){
$_SESSION["login"] = false;
}