cvs: phpweb / do_download.php
| From: | James Cox | Date: | Fri, 17 May 2002 15:16:05 +0000 |
| Subject: | cvs: phpweb / do_download.php | ||
| Groups: | php.mirrors | ||
| Request: | Send a blank email to php-mirrors+get-10303@lists.php.net to get a copy of this message | ||
imajes Fri May 17 11:16:05 2002 EDT
Modified files:
/phpweb do_download.php
Log:
Index: phpweb/do_download.php
diff -u phpweb/do_download.php:1.10 phpweb/do_download.php:1.11
--- phpweb/do_download.php:1.10 Fri May 17 10:55:42 2002
+++ phpweb/do_download.php Fri May 17 11:16:04 2002
@@ -11,11 +11,11 @@
// Redirect to the particular file
header("Location: http://$SERVER_NAME/distributions/$download_file");
-
+log_download();
// Register the log function as a shutdown function to let the
// download starts before the log activates. This way if the
// "log server" does not work, downloads are still working
-register_shutdown_function("log_download");
+/* register_shutdown_function("log_download"); */
// Log downloads in a shutdown function (do not disturb download)
function log_download ()