Version 4.3.0
This commit is contained in:
1 parent
96997ddd8e
commit
fe1acf984a
1349 files changed
+116159
-67711
No files matched your search
@@ -95,7 +95,8 @@ class IPSUtf8
|
||||
*/
|
||||
public static function errorHandler( $errno, $errstr, $errfile, $errline, $trace=NULL )
|
||||
{
|
||||
if ( in_array( $errno, array( E_NOTICE ) ) )
|
||||
/* We don't care about these in production */
|
||||
if ( in_array( $errno, array( E_WARNING, E_NOTICE, E_STRICT, E_DEPRECATED ) ) )
|
||||
{
|
||||
return;
|
||||
}
|
||||
@@ -246,4 +247,11 @@ class IPSUtf8
|
||||
/* Init */
|
||||
IPSUtf8::init();
|
||||
|
||||
|
||||
/* Custom mb_ucfirst() function - eval'd so we can put into global namespace */
|
||||
eval( '
|
||||
function mb_ucfirst()
|
||||
{
|
||||
$text = func_get_arg( 0 );
|
||||
return mb_strtoupper( mb_substr( $text, 0, 1 ) ) . mb_substr( $text, 1 );
|
||||
}
|
||||
');
|
||||
Reference in new issue
Block a user