You are here

function css_gzip_disable in CSS Gzip 6

Implementation of hook_disable().

File

./css_gzip.install, line 33

Code

function css_gzip_disable() {

  // Del htaccess file when module is disabled:
  $htaccess = file_directory_path() . '/css/.htaccess';
  if (file_exists($htaccess)) {
    file_delete($htaccess);
  }
}