Revision 620f9137
Added by Assos Assos over 4 years ago
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 |
} |
Also available in: Unified diff
Weekly update of contrib modules