Skip to content
Commit cac462f2 authored by Alex Pilon's avatar Alex Pilon
Browse files

Issue #1214488 by mjpa

1. Made some coding style improvements to match the Drupal guidelines.
2. The filemtime() call caused a PHP warning if the CSS file didn't exist - Fixed by checking the file doesn't exist first before checking modification times
3. is_writable() returns false if the CSS file doesn't exist - Fixed by checking the directory if the file doesn't exist instead
4. Cleaned up the file_perms() function - It gave me '55' for the permissions which isn't quite right
5. Changed the message arguments to use @var instead of !var as there shouldn't be HTML in those variables and so they should be check_plain()'d.
parent 9af0fa82
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment