diff options
| author | root | 2014-03-12 20:44:57 +0100 |
|---|---|---|
| committer | root | 2014-03-12 20:44:57 +0100 |
| commit | 1bac7aec0ab18c69aae7d01216458dd83a26c864 (patch) | |
| tree | 1c5399aedca231d15c230c0f9eb9cf921fdf9ceb | |
| parent | fe9bfe8e9404726b788be2e615c193ed763cfd46 (diff) | |
| download | files.iamfabulous.de-1bac7aec0ab18c69aae7d01216458dd83a26c864.tar.gz | |
TODO: Get the right root.
| -rw-r--r-- | www/createfolder.php | 2 | ||||
| -rw-r--r-- | www/functions/func_register.php | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/www/createfolder.php b/www/createfolder.php index 00d6d43..64d99a4 100644 --- a/www/createfolder.php +++ b/www/createfolder.php @@ -25,7 +25,7 @@ if($_SERVER['REQUEST_METHOD'] == 'POST'){ if(preg_match("/^\//", $folder)){ $absolutpath = true; - $k=1; + $k=2; // what the fuck is this? } else { $absolutpath = false; } diff --git a/www/functions/func_register.php b/www/functions/func_register.php index ae784cf..eba653f 100644 --- a/www/functions/func_register.php +++ b/www/functions/func_register.php @@ -59,7 +59,7 @@ function register($db){ $_SESSION["login"] = true; $_SESSION["username"] = $name; - header("Refresh: 0; /") + header("Refresh: 0; /"); return true; } else { |
