)
);
- $docs = array('about', 'faq', 'contact', 'im', 'openid', 'openmublog', 'privacy', 'source');
+ $docs = array('about', 'faq', 'contact', 'im', 'openid', 'openmublog',
+ 'privacy', 'source', 'badge');
foreach($docs as $title) {
$standard_map_urls .= url(
$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 {
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.");
}
}