source: branches/1.1dev/polyfill/functions.inc.php

Last change on this file was 699, checked in by anonymous, 5 years ago

Add support for PHP >=5.6 <=7.3. Add MySQL polyfill.

File size: 282 bytes
Line 
1<?php
2/*
3* Polyfill provides support for functions that are not available in some PHP versions.
4*/
5
6if (!function_exists('_')) {
7    function _($str)
8    {
9        return $str;
10    }
11}
12
13if (!function_exists('gettext')) {
14    function gettext($str)
15    {
16        return $str;
17    }
18}
Note: See TracBrowser for help on using the repository browser.