cvs: php-master-web /scripts update-backend
| From: | Gabor Hojtsy | Date: | Mon, 01 Dec 2003 20:29:17 +0000 |
| Subject: | cvs: php-master-web /scripts update-backend | ||
| Groups: | php.mirrors | ||
| Request: | Send a blank email to php-mirrors+get-22358@lists.php.net to get a copy of this message | ||
goba Mon Dec 1 15:29:17 2003 EDT
Modified files:
/php-master-web/scripts update-backend
Log:
set file modification time to index.php modification time, so the RSS will be available for proper
caching
Index: php-master-web/scripts/update-backend
diff -u php-master-web/scripts/update-backend:1.18 php-master-web/scripts/update-backend:1.19
--- php-master-web/scripts/update-backend:1.18 Thu Aug 14 07:13:34 2003
+++ php-master-web/scripts/update-backend Mon Dec 1 15:29:17 2003
@@ -43,6 +43,7 @@
fwrite($dest, $RSS);
fclose($dest);
}
+touch("$root/news.rss", @filemtime("$root/index.php"));
// Compress mirrorkit dir in backend to mirrorkit.tgz, and
// then move it to the webspace in case it is properly done