get_t
- Versions
- 5 – 7
get_t()
Return the name of the localisation function. Use in code that needs to run both during installation and normal operation.
Code
includes/bootstrap.inc, line 1020
<?php
function get_t() {
static $t;
if (is_null($t)) {
$t = function_exists('install_main') ? 'st' : 't';
}
return $t;
}
?>Login or register to post comments 