function _pathauto_get_i18n_file in Pathauto 6
Fetch the path to the i18n-ascii.txt transliteration file
Return value
The complete path or FALSE if not found in any of the possible paths.
See also
_pathauto_get_i18n_possible_files()
2 calls to _pathauto_get_i18n_file()
- pathauto_admin_settings in ./
pathauto.admin.inc - Form builder; Configure the Pathauto system.
- pathauto_cleanstring in ./
pathauto.inc - Clean up a string segment to be used in an URL alias.
File
- ./
pathauto.inc, line 738 - Miscellaneous functions for Pathauto.
Code
function _pathauto_get_i18n_file() {
static $i18n_file;
if (!isset($i18n_file)) {
$i18n_file = FALSE;
foreach (_pathauto_get_i18n_possible_files() as $file) {
if (file_exists($file)) {
$i18n_file = $file;
break;
}
}
}
return $i18n_file;
}