Projet

Général

Profil

Révision 620f9137

Ajouté par Assos Assos il y a environ 4 ans

Weekly update of contrib modules

Voir les différences:

drupal7/sites/all/modules/l10n_update/l10n_update.module
494 494
  }
495 495
  return array();
496 496
}
497

  
498
/**
499
 * Creates a .htaccess file in the translations directory if it is missing.
500
 */
501
function l10n_update_ensure_htaccess() {
502
  $directory = variable_get('l10n_update_download_store', '');
503
  if ($directory) {
504
    file_create_htaccess($directory, FALSE);
505
  }
506
}

Formats disponibles : Unified diff