cvs: phpweb / do_download.php
| From: | Gabor Hojtsy | Date: | Sat, 18 Jan 2003 20:31:24 +0000 |
| Subject: | cvs: phpweb / do_download.php | ||
| Groups: | php.mirrors | ||
| Request: | Send a blank email to php-mirrors+get-15155@lists.php.net to get a copy of this message | ||
goba Sat Jan 18 15:31:24 2003 EDT
Modified files:
/phpweb do_download.php
Log:
Do only try to execute that request once...
Index: phpweb/do_download.php
diff -u phpweb/do_download.php:1.19 phpweb/do_download.php:1.20
--- phpweb/do_download.php:1.19 Fri Jan 17 09:53:07 2003
+++ phpweb/do_download.php Sat Jan 18 15:31:23 2003
@@ -14,11 +14,11 @@
header('Location: ' . $mr . 'distributions/' . $df);
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 ()