function follow_css in Follow 7.2
Menu callback to generate Follow module CSS.
1 string reference to 'follow_css'
- follow_menu in ./
follow.module - Implements hook_menu().
File
- ./
follow.module, line 348
Code
function follow_css() {
if ($destination = follow_save_css()) {
file_transfer($destination, array(
'Content-Type' => 'text/css',
'Content-Length' => filesize($destination),
));
}
else {
watchdog('follow', 'Unable to generate the Follow CSS located at %path.', array(
'%path' => $destination,
));
drupal_add_http_header('Status', '500 Internal Server Error');
print t('Error generating CSS.');
drupal_exit();
}
}