public static function register(){
		if( self::$registered ){
			return;
		}

		self::$libDir = dirname(__FILE__);

		if(false === spl_autoload_register(array('Less_Autoloader', 'loadClass'))){
			throw new Exception('Unable to register Less_Autoloader::loadClass as an autoloading method.');
		}

		self::$registered = true;
	}
public static function register(){
		if( self::$registered ){
			return;
		}

		self::$libDir = dirname(__FILE__);

		if(false === spl_autoload_register(array('Less_Autoloader', 'loadClass'))){
			throw new Exception('Unable to register Less_Autoloader::loadClass as an autoloading method.');
		}

		self::$registered = true;
	}
public static function register ( ) { if ( self :: $ registered ) { return ; } self :: $ libDir = dirname ( __FILE__ ) ; if ( false === spl_autoload_register ( array ( 'Less_Autoloader' , 'loadClass' ) ) ) { throw new Exception ( 'Unable to register Less_Autoloader::loadClass as an autoloading method.' ) ; } self :: $ registered = true ; }
Register the autoloader in the spl autoloader

@return void
@throws Exception If there was an error in registration
Register the autoloader in the spl autoloader