From 7ad2f2a371eae2489330f30306cfcbb204411bae Mon Sep 17 00:00:00 2001 From: Evan Prodromou Date: Tue, 23 Dec 2008 14:44:28 -0500 Subject: TRUE More PEAR coding standards global changes. Here, I've changed all instances of TRUE to true and FALSE to false. darcs-hash:20081223194428-84dde-cb1a1e6f679acd68e864545c4d4dd8752d6a6257.gz --- scripts/sitemap.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'scripts/sitemap.php') diff --git a/scripts/sitemap.php b/scripts/sitemap.php index 504783e88..51a9bbd75 100644 --- a/scripts/sitemap.php +++ b/scripts/sitemap.php @@ -331,7 +331,7 @@ function parse_args() $output_url = $args[u]; if (file_exists($output_dir)) { - if (is_writable($output_dir) === FALSE) { + if (is_writable($output_dir) === false) { error("$output_dir is not writable."); } } else { @@ -366,11 +366,11 @@ function write_file($path, $data) error('No data specified for writing.'); } - if (($fh_out = fopen($path,'w')) === FALSE) { + if (($fh_out = fopen($path,'w')) === false) { error("couldn't open $path for writing."); } - if (fwrite($fh_out, $data) === FALSE) { + if (fwrite($fh_out, $data) === false) { error("couldn't write to $path."); } } -- cgit v1.2.3-54-g00ecf