21 lines
273 B
PHP
21 lines
273 B
PHP
|
<?php
|
||
|
|
||
|
use FuzeWorks\Utf8;
|
||
|
|
||
|
class Mock_Core_Utf8 extends Utf8 {
|
||
|
|
||
|
/**
|
||
|
* We need to define UTF8_ENABLED the same way that
|
||
|
* CI_Utf8 constructor does.
|
||
|
*/
|
||
|
public function __construct()
|
||
|
{
|
||
|
if (defined('UTF8_ENABLED'))
|
||
|
{
|
||
|
return;
|
||
|
}
|
||
|
|
||
|
parent::__construct();
|
||
|
}
|
||
|
|
||
|
}
|