/**
* Registers Twig_Autoloader as an SPL autoloader.
*
- * @param Bolean $prepend Whether to prepend the autoloader or not.
+ * @param Boolean $prepend Whether to prepend the autoloader or not.
*/
public static function register($prepend = false)
{
- if ($prepend && version_compare(phpversion(), '5.3.0RC1', '>=')) {
- spl_autoload_register(array(new self, 'autoload'), true, $prepend);
- } else {
- spl_autoload_register(array(new self, 'autoload'), true);
- }
+ spl_autoload_register(array(new self, 'autoload'), true, $prepend);
}
/**