<?php

// autoload_real_52.php generated by xrstf/composer-php52

class ComposerAutoloaderInit0bf701a634d3844e097cab9ed07950d4 {
	private static $loader;

	public static function loadClassLoader($class) {
		if ('xrstf_Composer52_ClassLoader' === $class) {
			require dirname(__FILE__).'/ClassLoader52.php';
		}
	}

	/**
	 * @return xrstf_Composer52_ClassLoader
	 */
	public static function getLoader() {
		if (null !== self::$loader) {
			return self::$loader;
		}

		spl_autoload_register(array('ComposerAutoloaderInit0bf701a634d3844e097cab9ed07950d4', 'loadClassLoader'));
		self::$loader = $loader = new xrstf_Composer52_ClassLoader();
		spl_autoload_unregister(array('ComposerAutoloaderInit0bf701a634d3844e097cab9ed07950d4', 'loadClassLoader'));

		$vendorDir = dirname(dirname(__FILE__));
		$baseDir   = dirname(dirname($vendorDir));
		$dir       = dirname(__FILE__);

		$map = require $dir.'/autoload_namespaces_52.php';
		foreach ($map as $namespace => $path) {
			$loader->add($namespace, $path);
		}

		$classMap = require $dir.'/autoload_classmap_52.php';
		if ($classMap) {
			$loader->addClassMap($classMap);
		}

		$loader->register();

		require $baseDir . '/sally/core/lib/functions.php';
		require $baseDir . '/sally/core/lib/compatibility.php';

		return $loader;
	}
}
