components/LessServerCompiler.php
public function run()
	{
		foreach ($this->files as $lessFile => $cssFile)
		{
			$lessPath = realpath($this->basePath . DIRECTORY_SEPARATOR . $lessFile);
			$cssPath = str_replace('/', DIRECTORY_SEPARATOR, $this->basePath . DIRECTORY_SEPARATOR . $cssFile);

			if ($this->needsCompilation($lessPath, $cssPath))
			{
				if (!is_readable($lessPath))
				{
					$errorPath = ($lessPath === false)? ($this->basePath . DIRECTORY_SEPARATOR . $lessFile) : $lessPath;
					throw new CException('Failed to compile LESS. Source path must be readable: "'.$errorPath.'".');
				}

				$this->compileFile($lessPath, $cssPath);
			}
		}
	}
public function run()
	{
		foreach ($this->files as $lessFile => $cssFile)
		{
			$lessPath = realpath($this->basePath . DIRECTORY_SEPARATOR . $lessFile);
			$cssPath = str_replace('/', DIRECTORY_SEPARATOR, $this->basePath . DIRECTORY_SEPARATOR . $cssFile);

			if ($this->needsCompilation($lessPath, $cssPath))
			{
				if (!is_readable($lessPath))
				{
					$errorPath = ($lessPath === false)? ($this->basePath . DIRECTORY_SEPARATOR . $lessFile) : $lessPath;
					throw new CException('Failed to compile LESS. Source path must be readable: "'.$errorPath.'".');
				}

				$this->compileFile($lessPath, $cssPath);
			}
		}
	}
Runs the compiler.
@throws CException if an error occurred.