cvs: phpweb / do_download.php

From: Date: Sun, 19 May 2002 14:05:19 +0000
Subject: cvs: phpweb / do_download.php
Groups: php.mirrors 
Request: Send a blank email to php-mirrors+get-10327@lists.php.net to get a copy of this message
goba Sun May 19 10:05:19 2002 EDT Modified files: /phpweb do_download.php Log: Arg... DO NOT call the log_download() function twice... Index: phpweb/do_download.php diff -u phpweb/do_download.php:1.12 phpweb/do_download.php:1.13 --- phpweb/do_download.php:1.12 Fri May 17 11:27:10 2002 +++ phpweb/do_download.php Sun May 19 10:05:19 2002 @@ -11,11 +11,11 @@ // Redirect to the particular file header("Location: http://$SERVER_NAME/distributions/$download_file"); -log_download(); +// 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 ()

« previous php.mirrors (#10327) next »