com web/php: Remove outdated comment, and no-longer-used pregen-events: index.php
| From: | Hannes Magnusson | Date: | Wed, 04 Dec 2013 03:38:07 +0000 |
| Subject: | com web/php: Remove outdated comment, and no-longer-used pregen-events: index.php | ||
| Groups: | php.webmaster | ||
| Request: | Send a blank email to php-webmaster+get-17327@lists.php.net to get a copy of this message | ||
Commit: ee8897ce1861f3d57b59163d6cb5ff67dc4ea9f9
Author: Hannes Magnusson <bjori@mongodb.com> Tue, 3 Dec 2013 19:37:43 -0800
Parents: 9c118193b50e8e2ea076b3f29c7db54d409e75c8
Branches: master
Link: http://git.php.net/?p=web/php.git;a=commitdiff;h=ee8897ce1861f3d57b59163d6cb5ff67dc4ea9f9
Log:
Remove outdated comment, and no-longer-used pregen-events
Changed paths:
M index.php
Diff:
diff --git a/index.php b/index.php
index 44fc91c..da97b41 100644
--- a/index.php
+++ b/index.php
@@ -1,11 +1,4 @@
<?php // vim: et
-/*
- If you're reading this, it isn't because you've found a security hole.
- this is an open source website. read and learn!
-*/
-
-/* ------------------------------------------------------------------------- */
-
// Get the modification date of this PHP file
$timestamps = array(@getlastmod());
@@ -14,13 +7,11 @@ $timestamps = array(@getlastmod());
included files. Please touch it if you modify any
other include file (and the modification affects
the display of the index page). The cost of stat'ing
- them all is prohibitive. Also note the file path,
- we aren't using the include path here.
+ them all is prohibitive.
*/
$timestamps[] = @filemtime("include/prepend.inc");
-// Calendar, conference teasers & latest releaes box are the only "dynamic" features
on this page
-$timestamps[] = @filemtime("include/pregen-events.inc");
+// These are the only dynamic parts of the frontpage
$timestamps[] = @filemtime("include/pregen-confs.inc");
$timestamps[] = @filemtime("include/pregen-news.inc");
$timestamps[] = @filemtime("include/version.inc");
@@ -44,7 +35,6 @@ else {
$_SERVER['BASE_PAGE'] = 'index.php';
include_once 'include/prepend.inc';
-include_once 'include/pregen-events.inc';
include_once 'include/pregen-confs.inc';
include_once 'include/pregen-news.inc';
include_once 'include/version.inc';