public function setCompileDir($dir)
	{
		$this->compileDir = rtrim($dir, '/\\').DIRECTORY_SEPARATOR;
		if (is_writable($this->compileDir) === false) {
			throw new Dwoo_Exception('The compile directory must be writable, chmod "'.$this->compileDir.'" to make it writable');
		}
	}
public function setCompileDir($dir)
	{
		$this->compileDir = rtrim($dir, '/\\').DIRECTORY_SEPARATOR;
		if (is_writable($this->compileDir) === false) {
			throw new Dwoo_Exception('The compile directory must be writable, chmod "'.$this->compileDir.'" to make it writable');
		}
	}
public function setCompileDir ( $ dir ) { $ this -> compileDir = rtrim ( $ dir , '/\\' ) . DIRECTORY_SEPARATOR ; if ( is_writable ( $ this -> compileDir ) === false ) { throw new Dwoo_Exception ( 'The compile directory must be writable, chmod "' . $ this -> compileDir . '" to make it writable' ) ; } }
sets the compile directory and automatically appends a DIRECTORY_SEPARATOR

@param string $dir the compile directory
sets the compile directory and automatically appends a DIRECTORY_SEPARATOR