cvs: phpweb / books.php docs.php get_download.php index.php news.php support.php usage.php /bin generate-netcraft-chart /manual index.php
| From: | Rasmus Lerdorf | Date: | Thu, 15 May 2003 17:39:37 +0000 |
| Subject: | cvs: phpweb / books.php docs.php get_download.php index.php news.php support.php usage.php /bin generate-netcraft-chart /manual index.php | ||
| Groups: | php.mirrors | ||
| Request: | Send a blank email to php-mirrors+get-17703@lists.php.net to get a copy of this message | ||
rasmus Thu May 15 13:39:37 2003 EDT
Modified files:
/phpweb books.php docs.php get_download.php index.php news.php
support.php usage.php
/phpweb/bin generate-netcraft-chart
/phpweb/manual index.php
Log:
Get rid of some more stat() syscalls by avoiding include_path stats when
we know the exact relative path to the files
Index: phpweb/books.php
diff -u phpweb/books.php:1.185 phpweb/books.php:1.186
--- phpweb/books.php:1.185 Sat Jan 11 07:32:52 2003
+++ phpweb/books.php Thu May 15 13:39:36 2003
@@ -1,7 +1,7 @@
<?php
-include_once "prepend.inc";
-include_once "books.inc";
+include "./include/prepend.inc";
+include "./include/books.inc";
commonHeader("PHP Books");
// Show a table row for one book
Index: phpweb/docs.php
diff -u phpweb/docs.php:1.123 phpweb/docs.php:1.124
--- phpweb/docs.php:1.123 Thu May 15 12:46:58 2003
+++ phpweb/docs.php Thu May 15 13:39:36 2003
@@ -1,5 +1,5 @@
<?php
-include_once 'prepend.inc';
+include './include/prepend.inc';
$SIDEBAR_DATA='
<h3>FAQ</h3>
Index: phpweb/get_download.php
diff -u phpweb/get_download.php:1.22 phpweb/get_download.php:1.23
--- phpweb/get_download.php:1.22 Sun May 4 07:22:13 2003
+++ phpweb/get_download.php Thu May 15 13:39:36 2003
@@ -1,6 +1,6 @@
<?php
-include_once 'prepend.inc';
-include_once 'mirrortable.inc';
+include './include/prepend.inc';
+include './include/mirrortable.inc';
// Try to make this page non-cached
header_nocache();
Index: phpweb/index.php
diff -u phpweb/index.php:1.378 phpweb/index.php:1.379
--- phpweb/index.php:1.378 Thu May 15 09:39:14 2003
+++ phpweb/index.php Thu May 15 13:39:36 2003
@@ -39,7 +39,7 @@
header("Last-Modified: " . $tsstring);
}
-include_once 'prepend.inc';
+include './include/prepend.inc';
// This goes to the left sidebar of the front page
$SIDEBAR_DATA = '
Index: phpweb/news.php
diff -u phpweb/news.php:1.35 phpweb/news.php:1.36
--- phpweb/news.php:1.35 Wed May 14 15:26:54 2003
+++ phpweb/news.php Thu May 15 13:39:36 2003
@@ -1,5 +1,5 @@
<?php
-require_once 'prepend.inc';
+include './include/prepend.inc';
commonHeader("News Archive");
?>
Index: phpweb/support.php
diff -u phpweb/support.php:1.65 phpweb/support.php:1.66
--- phpweb/support.php:1.65 Wed Jan 8 13:07:26 2003
+++ phpweb/support.php Thu May 15 13:39:36 2003
@@ -1,5 +1,5 @@
<?php
-require_once 'prepend.inc';
+include './include/prepend.inc';
commonHeader("Getting Help");
?>
Index: phpweb/usage.php
diff -u phpweb/usage.php:1.44 phpweb/usage.php:1.45
--- phpweb/usage.php:1.44 Thu May 8 03:03:06 2003
+++ phpweb/usage.php Thu May 15 13:39:36 2003
@@ -1,5 +1,5 @@
<?php
-include_once "prepend.inc";
+include "./include/prepend.inc";
commonHeader("PHP Usage Stats");
?>
Index: phpweb/bin/generate-netcraft-chart
diff -u phpweb/bin/generate-netcraft-chart:1.24 phpweb/bin/generate-netcraft-chart:1.25
--- phpweb/bin/generate-netcraft-chart:1.24 Sun Apr 13 20:53:41 2003
+++ phpweb/bin/generate-netcraft-chart Thu May 15 13:39:36 2003
@@ -63,7 +63,8 @@
200212 => array(10197643, 1222949),
200301 => array(10258692, 1211575),
200302 => array(10519623, 1220927),
- 200303 => array(11860645, 1316288)
+ 200303 => array(11860645, 1316288),
+ 200304 => array(12236270, 1324036)
);
$months = array(1 => "Jan", "Feb", "Mar", "Apr",
"May", "Jun",
Index: phpweb/manual/index.php
diff -u phpweb/manual/index.php:1.5 phpweb/manual/index.php:1.6
--- phpweb/manual/index.php:1.5 Thu Dec 13 14:23:14 2001
+++ phpweb/manual/index.php Thu May 15 13:39:37 2003
@@ -1,5 +1,5 @@
<?php
-require_once 'prepend.inc';
+require_once '../include/prepend.inc';
$lang = default_language();
if (@is_dir($lang)) {