diff options
Diffstat (limited to 'www')
| -rwxr-xr-x | www/include.php | 2 | ||||
| -rwxr-xr-x | www/index.php | 2 |
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; } |
