cvs: php-master-web /scripts event_listing update-backend

From: Date: Thu, 14 Aug 2003 11:13:34 +0000
Subject: cvs: php-master-web /scripts event_listing update-backend
Groups: php.mirrors 
Request: Send a blank email to php-mirrors+get-20266@lists.php.net to get a copy of this message
goba Thu Aug 14 07:13:34 2003 EDT Added files: /php-master-web/scripts event_listing Modified files: /php-master-web/scripts update-backend Log: Pregenerate events listing into an include file, instead of generating it per request. This runs the same time a new events listing is fecthed to events.csv, so the listing will be as up-to-date as possible. Index: php-master-web/scripts/update-backend diff -u php-master-web/scripts/update-backend:1.17 php-master-web/scripts/update-backend:1.18 --- php-master-web/scripts/update-backend:1.17 Sun Jun 15 11:55:41 2003 +++ php-master-web/scripts/update-backend Thu Aug 14 07:13:34 2003 @@ -27,6 +27,10 @@ fetch_into_file("http://master.php.net/fetch/events.php?nm=2&token=$token", "$root/backend/events.csv"); +// Pregenerate event listing sidebar for homepage +include "event_listing"; +pregenerate_events("$root/backend/events.csv", "$root/include/pregen-events.inc"); + // Run ip-to-country fetch code include "ip-to-country"; fetch_ip_to_country($root);

« previous php.mirrors (#20266) next »