diff options
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){ |
