diff options
Diffstat (limited to 'libraries/string.lib.php')
-rw-r--r-- | libraries/string.lib.php | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/libraries/string.lib.php b/libraries/string.lib.php new file mode 100644 index 0000000000..77599e5f32 --- /dev/null +++ b/libraries/string.lib.php @@ -0,0 +1,20 @@ +<?php +/* vim: set expandtab sw=4 ts=4 sts=4: */ +/** String Functions for phpMyAdmin + * + * If mb_* functions don't exist, we create the ones we need and they'll use the + * standard string functions. + * + * All mb_* functions created by pMA should behave as mb_* functions. + * + * @package PhpMyAdmin + */ +if (! defined('PHPMYADMIN')) { + exit; +} + +if (@function_exists('mb_strlen')) { + include_once 'libraries/stringMb.lib.php'; +} else { + include_once 'libraries/stringNative.lib.php'; +} |