source:
trunk/polyfill/functions.inc.php
@
719
Last change on this file since 719 was 699, checked in by anonymous, 5 years ago | |
---|---|
File size: 282 bytes |
Rev | Line | |
---|---|---|
[699] | 1 | <?php |
2 | /* | |
3 | * Polyfill provides support for functions that are not available in some PHP versions. | |
4 | */ | |
5 | ||
6 | if (!function_exists('_')) { | |
7 | function _($str) | |
8 | { | |
9 | return $str; | |
10 | } | |
11 | } | |
12 | ||
13 | if (!function_exists('gettext')) { | |
14 | function gettext($str) | |
15 | { | |
16 | return $str; | |
17 | } | |
18 | } |
Note: See TracBrowser
for help on using the repository browser.