diff options
author | Aqua-sama <aqua@iserlohn-fortress.net> | 2021-04-30 10:16:44 +0300 |
---|---|---|
committer | Aqua-sama <aqua@iserlohn-fortress.net> | 2021-04-30 10:16:44 +0300 |
commit | 4bd48d769dd9b8e81b4b0a4a1514023c06549782 (patch) | |
tree | 3a86359e5d7f23e6e6a092d77fa0f63c23a74adc | |
parent | Check can_edit_reports and can_edit_bugs flags (diff) | |
download | bugtracker-4bd48d769dd9b8e81b4b0a4a1514023c06549782.tar.xz |
Remove debug print_r
-rw-r--r-- | templates/panel.php | 2 | ||||
-rw-r--r-- | user/register.php | 2 | ||||
-rw-r--r-- | user/update.php | 2 |
3 files changed, 0 insertions, 6 deletions
diff --git a/templates/panel.php b/templates/panel.php index 5c090c8..fa43acf 100644 --- a/templates/panel.php +++ b/templates/panel.php @@ -24,7 +24,5 @@ if (isset($_SESSION['user_id']) && $_SESSION['user_id'] != "") { <input type="submit" value="search" > </form> -<p>_GET: <?php print_r($_GET); ?></p> -<p>_SESSION: <?php print_r($_SESSION); ?></p> <hr> diff --git a/user/register.php b/user/register.php index fb9ed09..6955d05 100644 --- a/user/register.php +++ b/user/register.php @@ -4,8 +4,6 @@ require_once(TEMPLATES_PATH . "/header.php"); require_once(TEMPLATES_PATH . "/panel.php"); require_once(LIBRARY_PATH . "/functions.php"); -print_r($_POST); - $password = password_hash($_POST['password'], PASSWORD_ARGON2I); $conn = new PDO($config['db']['dsn'], $config['db']['username'], $config['db']['password']); diff --git a/user/update.php b/user/update.php index 1fe291a..b3a21f8 100644 --- a/user/update.php +++ b/user/update.php @@ -4,8 +4,6 @@ require_once(TEMPLATES_PATH . "/header.php"); require_once(TEMPLATES_PATH . "/panel.php"); require_once(LIBRARY_PATH . "/functions.php"); -print_r($_POST); - if (isset($_SESSION['user_id']) && $_SESSION['user_id'] != "") { $conn = new PDO($config['db']['dsn'], $config['db']['username'], $config['db']['password']); $query = $conn->prepare("UPDATE users SET username=:username, email=:email WHERE id={$_SESSION['user_id']}"); |