drupal_clear_css_cache

  1. drupal
    1. drupal6
    2. drupal7
Versionen
drupal6 – drupal7 drupal_clear_css_cache()

Delete all cached CSS files.

▾ 3 functions call drupal_clear_css_cache()

drupal_flush_all_caches in includes/common.inc
Flush all cached data on the site.
system_modules_submit in modules/system/system.admin.inc
Submit callback; handles modules form submission.
system_themes_form_submit in modules/system/system.admin.inc
Process system_themes_form form submissions.

Code

includes/common.inc, line 2105

<?php
function drupal_clear_css_cache() {
  file_scan_directory(file_create_path('css'), '.*', array('.', '..', 'CVS'), 'file_delete', TRUE);
}
?>

Kommentare

Kommentar hinzufügen

Der Inhalt dieses Feldes wird nicht öffentlich zugänglich angezeigt.
  • Internet- und E-Mail-Adressen werden automatisch umgewandelt.
  • Zulässige HTML-Tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd>
  • Zeilen und Absätze werden automatisch erzeugt.

Weitere Informationen über Formatierungsoptionen

Kommentar hinzufügen

Der Inhalt dieses Feldes wird nicht öffentlich zugänglich angezeigt.
  • Internet- und E-Mail-Adressen werden automatisch umgewandelt.
  • Zulässige HTML-Tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd>
  • Zeilen und Absätze werden automatisch erzeugt.

Weitere Informationen über Formatierungsoptionen