aboutsummaryrefslogtreecommitdiff
path: root/www/include.php
blob: 59aa1a93f276cfadbfbb39d1f5cb10c89835b74e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
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