From 833d72001d3df1680913759ff760708766618eb8 Mon Sep 17 00:00:00 2001 From: root Date: Mon, 10 Mar 2014 15:31:56 +0100 Subject: starting to write the interface --- www/functions.php | 14 +++++--------- 1 file changed, 5 insertions(+), 9 deletions(-) (limited to 'www/functions.php') 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){ -- cgit v1.2.3