aboutsummaryrefslogtreecommitdiff
path: root/www/include.php
diff options
context:
space:
mode:
authorroot2014-04-14 08:35:13 +0200
committerroot2014-04-14 08:35:13 +0200
commit12734da8826299ffd24c0a15f6dbf205892d7221 (patch)
tree3b894dd30e332df23a564ce44e42ce164c8abd78 /www/include.php
parent7b9d516cd3bcdb8eaa5f1eb533d71010061c681b (diff)
downloadjungegemeinde-12734da8826299ffd24c0a15f6dbf205892d7221.tar.gz
Pushed to v3
Diffstat (limited to 'www/include.php')
-rwxr-xr-xwww/include.php42
1 files changed, 42 insertions, 0 deletions
diff --git a/www/include.php b/www/include.php
new file mode 100755
index 0000000..59aa1a9
--- /dev/null
+++ b/www/include.php
@@ -0,0 +1,42 @@
+<?php
+
+$db = new SQLite3("../database/sqlite.db");
+
+$scheme="http://";
+
+if(isset($_SERVER["HTTPS"])){
+ if($_SERVER["HTTPS"] == "on"){
+ $scheme="https://";
+ }
+}
+
+require_once("constants.php");
+require_once("auth.php");
+
+$func_dir = "functions/";
+
+require_once($func_dir . "func_failure.php"); // 404 and other errors
+require_once($func_dir . "func_interface.php"); // presents the vfs content
+//require_once($func_dir . "func_invite.php"); // handles the invite routine
+require_once($func_dir . "func_login.php"); // handles also logout
+require_once($func_dir . "func_register.php"); // processing the registration
+//require_once($func_dir . "func_rewrite.php"); // rewrites URL if user forgot to add the username while loged in
+//require_once($func_dir . "func_select.php"); // get the primary key from the last folder
+require_once($func_dir . "func_user.php"); // gets the userid and account specific stuff
+//require_once($func_dir . "func_content.php"); // get the vfs content
+require_once($func_dir . "func_password.php"); // changes the user password
+//require_once($func_dir . "func_folder.php"); // creates a new folder
+//require_once($func_dir . "func_delete.php"); // deletes files, folder and user
+//require_once($func_dir . "func_download.php"); // handles the file download
+//require_once($func_dir . "func_upload.php"); // handles the file upload
+
+require_once("login.php"); // prints the login page
+require_once("register.php"); // prints the register page
+require_once("reset.php"); // prints the password recover page
+require_once("liste.php");
+require_once("quote.php");
+require_once("insert.php");
+require_once("update.php");
+require_once("print_index.php");
+require_once("services.php");
+//require_once("browse.php"); // prints the file browser page