// close curl resource to free up system resources
curl_close($ch);
+ if ( $output == '' ) {
+ // based on the year
+ $current_month = date( 'm' );
+ if ( $current_month >= "03" && $current_month == "05" ) {
+ $season = 'spring';
+ } else if ( $current_month >= "06" && $current_month == "08" ) {
+ $season = 'summer';
+ } else if ( $current_month >= "09" && $current_month == "11" ) {
+ $season = 'fall';
+ } else {
+ $season = 'winter';
+ }
+ return $season . '.css';
+ }
return $output;
}