Skip to content

Commit

Permalink
Added some error suppression
Browse files Browse the repository at this point in the history
  • Loading branch information
Pete Boere committed Dec 1, 2010
1 parent 0aa1475 commit c0a9740
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CSS_Crush.php
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ private static function setPath ( $new_dir ) {
else if ( !is_writable( $new_dir ) ) {
self::log( 'Attempting to change permissions' );
try {
chmod( $new_dir, 0755 );
@chmod( $new_dir, 0755 );
}
catch ( Exception $e ) {
throw new Exception( __METHOD__ . ': Directory un-writable' );
Expand Down

0 comments on commit c0a9740

Please sign in to comment.