From 0b59f270a432f8c7b6128981f0a39b4a2e2fbd34 Mon Sep 17 00:00:00 2001 From: Derek Jones Date: Tue, 13 May 2008 04:22:33 +0000 Subject: Some sweeping syntax changes for consistency: (! foo) changed to ( ! foo) || changed to OR changed newline standardization code in various places from preg_replace to str_replace --- user_guide/helpers/file_helper.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'user_guide/helpers/file_helper.html') diff --git a/user_guide/helpers/file_helper.html b/user_guide/helpers/file_helper.html index 13d0beb97..2c3dba13a 100644 --- a/user_guide/helpers/file_helper.html +++ b/user_guide/helpers/file_helper.html @@ -88,7 +88,7 @@ might not work if you are trying to access a file above the calling script.

$data = 'Some file data';

-if (! write_file('./path/to/file.php', $data))
+if ( ! write_file('./path/to/file.php', $data))
{
     echo 'Unable to write the file';
}
-- cgit v1.2.3-24-g4f1b