You are here

function css_gzip_remove_htaccess in CSS Gzip 6

Delete the .htaccess file inside the files/css dir.

Parameters

$htaccess: Path and filename of the subdir .htaccess file.

1 call to css_gzip_remove_htaccess()
css_gzip_preprocess_page in ./css_gzip.module
Implementation of template_preprocess_page().

File

./css_gzip.module, line 179
Gzips aggregated CSS files if CSS Optimization is turned on.

Code

function css_gzip_remove_htaccess($htaccess) {
  if (file_exists($htaccess)) {
    file_delete($htaccess);
  }
}