diff options
| author | czaks <marcin@6irc.net> | 2014-09-21 00:56:00 +0200 |
|---|---|---|
| committer | czaks <marcin@6irc.net> | 2014-09-21 00:56:00 +0200 |
| commit | 5f7e62142cffa795a7c2213f04f672a7dbfb7507 (patch) | |
| tree | 0e94d2bdf4df4366e57cf29e7f2c2f150bd587df /tools/stats.php | |
| parent | c5c356e077979a7d952e2355c3aecefa9896761e (diff) | |
SECURITY: prevent a DoS attack by disabling HTTP access to tools/ scripts.
Diffstat (limited to 'tools/stats.php')
| -rwxr-xr-x | tools/stats.php | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/tools/stats.php b/tools/stats.php index 5043c788..0f05d6a8 100755 --- a/tools/stats.php +++ b/tools/stats.php @@ -2,10 +2,6 @@ <?php require dirname(__FILE__) . '/inc/cli.php'; -if(!is_writable($config['file_script'])) { - get_httpd_privileges(); -} - $variants = [["hour", 3600], ["day", 3600*24], ["3 days", 3600*24*3], ["week", 3600*24*7], ["month", 3600*24*7*30]]; |
