summaryrefslogtreecommitdiff
path: root/www/index.php
diff options
context:
space:
mode:
authorroot2014-03-10 15:31:56 +0100
committerroot2014-03-10 15:31:56 +0100
commit833d72001d3df1680913759ff760708766618eb8 (patch)
tree33bb53833e39063e523ee76cd54bab305590e5b3 /www/index.php
parent432275ce705b4e418b550eb99c45dd46ca1b3fd3 (diff)
downloadfiles.iamfabulous.de-833d72001d3df1680913759ff760708766618eb8.tar.gz
starting to write the interface
Diffstat (limited to 'www/index.php')
-rw-r--r--www/index.php7
1 files changed, 5 insertions, 2 deletions
diff --git a/www/index.php b/www/index.php
index d1f86ee..77a29e6 100644
--- a/www/index.php
+++ b/www/index.php
@@ -3,6 +3,7 @@
session_start();
require_once("functions.php");
+require_once("interface_functions.php");
$db = new SQLite3("../database/sqlite.db");
@@ -49,7 +50,9 @@ if(empty($_GET)){
/* shows the user content, main function */
- $content = show($db);
- var_dump($content);
+ if(rewrite($db)){
+ $content = select($db);
+ show($content);
+ }
}
}