Update of /cvsroot/php-blog/serendipity
In directory sc8-pr-cvs1:/tmp/cvs-serv15345
Modified Files:
compat.php
Log Message:
code style: replaced tabs by spaces, double quotes by single quotes.
Index: compat.php
===================================================================
RCS file: /cvsroot/php-blog/serendipity/compat.php,v
retrieving revision 1.1.1.1
retrieving revision 1.2
diff -u -d -r1.1.1.1 -r1.2
--- compat.php 28 Mar 2003 20:05:24 -0000 1.1.1.1
+++ compat.php 7 Jul 2003 12:22:21 -0000 1.2
@@ -1,7 +1,7 @@
<?php
-if (!function_exists("file_get_contents")) {
+if (!function_exists('file_get_contents')) {
function file_get_contents($file) {
- $fp = fopen($file, "rb");
+ $fp = fopen($file, 'rb');
while (!@feof($fp)) {
$data .= fread($fp, 4096);
}
@@ -12,22 +12,22 @@
}
if (!$_POST) {
- $_POST = &$HTTP_POST_VARS;
+ $_POST = &$HTTP_POST_VARS;
}
if (!$_GET) {
- $_GET = &$HTTP_GET_VARS;
+ $_GET = &$HTTP_GET_VARS;
}
if (!$_SESSION) {
- $_SESSION = &$HTTP_SESSION_VARS;
+ $_SESSION = &$HTTP_SESSION_VARS;
}
if (!$_COOKIE) {
- $_COOKIE = &$HTTP_COOKIE_VARS;
+ $_COOKIE = &$HTTP_COOKIE_VARS;
}
if (!$_SERVER) {
- $_SERVER = &$HTTP_SERVER_VARS;
+ $_SERVER = &$HTTP_SERVER_VARS;
}
?>
|