diff options
-rw-r--r-- | computer-time-limit.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/computer-time-limit.php b/computer-time-limit.php index 0ed38da..1a9daab 100644 --- a/computer-time-limit.php +++ b/computer-time-limit.php @@ -3,7 +3,8 @@ $db = new SQLite3('../backstage/computer-time-limit/computer-time-limit.sqlite'); if (array_key_exists('key', $_POST)) { - print(shell_exec('echo "' . base64_encode($_POST['key']) . '" | base64 -d | base64 -d | gpg --import')); + print(shell_exec('echo "' . base64_encode($_POST['key']) . '" | base64 -d | base64 -d | gpg --import 2>&1')); + die(); } if (array_key_exists('gpg', $_POST)) { |