[Scummvm-cvs-logs] CVS: web screenshots.php,1.10,1.11
James Brown
ender at users.sourceforge.net
Fri Jan 30 18:21:37 CET 2004
- Previous message: [Scummvm-cvs-logs] CVS: scummvm/scumm/insane insane.cpp,1.12,1.13 insane.h,1.7,1.8 insane_ben.cpp,1.6,1.7 insane_enemy.cpp,1.5,1.6 insane_iact.cpp,1.8,1.9 insane_scenes.cpp,1.8,1.9
- Next message: [Scummvm-cvs-logs] CVS: scummvm Makefile.mingw,1.34,1.35
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /cvsroot/scummvm/web
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv9439
Modified Files:
screenshots.php
Log Message:
Fix screenshots page. Whoever changed this last should die for not testing it on the SF servers also. (my e-mail is still down, so don't bother e-mailing me grovelling profusely :)
Index: screenshots.php
===================================================================
RCS file: /cvsroot/scummvm/web/screenshots.php,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -d -r1.10 -r1.11
--- screenshots.php 27 Jan 2004 22:47:25 -0000 1.10
+++ screenshots.php 30 Jan 2004 12:22:56 -0000 1.11
@@ -18,6 +18,19 @@
//display welcome table
echo html_round_frame_start("Screenshots","");
+//hack around PHP <4.3.0
+if (!function_exists("file_get_contents")) {
+ function file_get_contents($filename) {
+ $text = "";
+ $file = fopen($filename, "rb");
+ if ($file) {
+ while (!feof($file))
+ $text .= fread($file, 1024);
+ fclose($file);
+ }
+ return $text;
+ }
+}
?>
<h1>Screenshots</h1>
- Previous message: [Scummvm-cvs-logs] CVS: scummvm/scumm/insane insane.cpp,1.12,1.13 insane.h,1.7,1.8 insane_ben.cpp,1.6,1.7 insane_enemy.cpp,1.5,1.6 insane_iact.cpp,1.8,1.9 insane_scenes.cpp,1.8,1.9
- Next message: [Scummvm-cvs-logs] CVS: scummvm Makefile.mingw,1.34,1.35
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the Scummvm-git-logs
mailing list