diff options
| author | root | 2014-03-10 15:31:56 +0100 |
|---|---|---|
| committer | root | 2014-03-10 15:31:56 +0100 |
| commit | 833d72001d3df1680913759ff760708766618eb8 (patch) | |
| tree | 33bb53833e39063e523ee76cd54bab305590e5b3 /www/functions.php | |
| parent | 432275ce705b4e418b550eb99c45dd46ca1b3fd3 (diff) | |
| download | files.iamfabulous.de-833d72001d3df1680913759ff760708766618eb8.tar.gz | |
starting to write the interface
Diffstat (limited to 'www/functions.php')
| -rw-r--r-- | www/functions.php | 14 |
1 files changed, 5 insertions, 9 deletions
diff --git a/www/functions.php b/www/functions.php index c1cdca6..96f4010 100644 --- a/www/functions.php +++ b/www/functions.php @@ -2,7 +2,7 @@ /* --LOGIN-- */ -require_once("select_functions.php"); +require_once("select_function.php"); function login($db){ if($_SERVER['REQUEST_METHOD'] == 'POST') { @@ -267,7 +267,7 @@ function get_404(){ */ //} -function show($db){ +function rewrite($db){ /* test if first argument a username or folder */ @@ -286,14 +286,10 @@ function show($db){ } else { get_404(); } - } else { - - /* everything was okay, so show the content, please */ - - $content = select($db); - return $content; - //exit; + return false; } + + return true; } function failure($reason){ |
