I think, you've found a bug...
As the multibyte extension is not provided with all PHP installations,
it should have a fallback. This should be in
joomla.utilities.compat.compat, which should define required, but not
existing functions, like
if ( !function_exists( 'mb_strpos' ) ) {
function mb_strpos(...)
{
...
}
}
and be called once during system initialization.
Regards,
Niels
--
| http://www.kolleg.de · Das Portal der Kollegs in Deutschland |
| http://www.bsds.de · BSDS Braczek Software- und DatenSysteme |
| Webdesign · Webhosting · e-Commerce · Joomla! Content Management |
------------------------------------------------------------------
Yes and no. It depends on the setup of your system. php uses a
config file 'php.ini'. Some distro's have a different init file for
CLI vs Web. Opensuse used to do this (not sure if 11.x does still).
The .ini can load/not-load modules, including mb_string, which you
could probably just build the single module and put it in the .ini
file to load.
--
Ed Stafford
Heck, it could be something that the PHP Devs were originally going to
do and ended up not implementing in 5.3. Usually when I've seen cases
like this, it's because there was some truth prior, but the change was
missed.
--
Ed Stafford