diff options
| author | kpcyrd <git@rxv.cc> | 2014-08-09 12:14:56 +0200 |
|---|---|---|
| committer | kpcyrd <git@rxv.cc> | 2014-08-09 12:14:56 +0200 |
| commit | 33c6d6644e9e94904327f9f93f5c7a13e2727e0b (patch) | |
| tree | 2bd92fe16e9763226893afe1477c05c89b22b288 | |
| parent | bf52d416500b530bb65ccb54cdc41e5d7d6c4d51 (diff) | |
Suppress warnings that might leak information
| -rw-r--r-- | player.php | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -1,8 +1,8 @@ <?php /* This file is dedicated to the public domain; you may do as you wish with it. */ -$v = (string)$_GET['v']; -$t = (string)$_GET['t']; -$loop = (boolean)$_GET['loop']; +$v = @(string)$_GET['v']; +$t = @(string)$_GET['t']; +$loop = @(boolean)$_GET['loop']; $params = '?v=' . urlencode($v) . '&t=' . urlencode($t); ?><!DOCTYPE html> |
