summaryrefslogtreecommitdiffstats
path: root/tests/mocks/core/utf8.php
blob: c8214a62a44c2bee62569eb2451e5832d7511367 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
<?php

class Mock_Core_Utf8 extends CI_Utf8 {

	/**
	 * We need to define UTF8_ENABLED the same way that
	 * CI_Utf8 constructor does.
	 *
	 * @covers CI_Utf8::__construct()
	 */
	public function __construct()
	{
		defined('UTF8_ENABLED') OR define('UTF8_ENABLED', TRUE);
	}

}