diff options
Diffstat (limited to 'includes/normal/UtfNormal.php')
-rw-r--r-- | includes/normal/UtfNormal.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/includes/normal/UtfNormal.php b/includes/normal/UtfNormal.php index b5aad301..08f85bd3 100644 --- a/includes/normal/UtfNormal.php +++ b/includes/normal/UtfNormal.php @@ -190,7 +190,7 @@ class UtfNormal { */ static function loadData() { if( !isset( self::$utfCombiningClass ) ) { - require_once( dirname(__FILE__) . '/UtfNormalData.inc' ); + require_once( __DIR__ . '/UtfNormalData.inc' ); } } @@ -238,6 +238,7 @@ class UtfNormal { * Returns true if the string is _definitely_ in NFC. * Returns false if not or uncertain. * @param $string String: a UTF-8 string, altered on output to be valid UTF-8 safe for XML. + * @return bool */ static function quickIsNFCVerify( &$string ) { # Screen out some characters that eg won't be allowed in XML |