Subversion-Projekte lars-tiefland.ci

Revision

Revision 2049 | Revision 2242 | Zur aktuellen Revision | Ganze Datei anzeigen | Leerzeichen ignorieren | Details | Blame | Letzte Änderung | Log anzeigen | RSS feed

Revision 2049 Revision 2107
Zeile 53... Zeile 53...
53
 * CodeIgniter Version
53
 * CodeIgniter Version
54
 *
54
 *
55
 * @var	string
55
 * @var	string
56
 *
56
 *
57
 */
57
 */
58
	const CI_VERSION = '3.1.3';
58
	const CI_VERSION = '3.1.6';
Zeile 59... Zeile 59...
59
 
59
 
60
/*
60
/*
61
 * ------------------------------------------------------
61
 * ------------------------------------------------------
62
 *  Load the framework constants
62
 *  Load the framework constants
Zeile 432... Zeile 432...
432
		 * - People will only complain if this doesn't work, even though it is documented that it shouldn't.
432
		 * - People will only complain if this doesn't work, even though it is documented that it shouldn't.
433
		 *
433
		 *
434
		 * ReflectionMethod::isConstructor() is the ONLY reliable check,
434
		 * ReflectionMethod::isConstructor() is the ONLY reliable check,
435
		 * knowing which method will be executed as a constructor.
435
		 * knowing which method will be executed as a constructor.
436
		 */
436
		 */
437
		elseif ( ! is_callable(array($class, $method)) && strcasecmp($class, $method) === 0)
437
		elseif ( ! is_callable(array($class, $method)))
438
		{
438
		{
439
			$reflection = new ReflectionMethod($class, $method);
439
			$reflection = new ReflectionMethod($class, $method);
440
			if ( ! $reflection->isPublic() OR $reflection->isConstructor())
440
			if ( ! $reflection->isPublic() OR $reflection->isConstructor())
441
			{
441
			{
442
				$e404 = TRUE;
442
				$e404 = TRUE;