original_string: public function allowDirectory($path)
  	{
  		if (is_array($path))
  			foreach ($path as $dir)
  				$this->allowedDirectories[realpath($dir)] = true;
  		else
  			$this->allowedDirectories[realpath($path)] = true;
  	}
code: public function allowDirectory($path)
  	{
  		if (is_array($path))
  			foreach ($path as $dir)
  				$this->allowedDirectories[realpath($dir)] = true;
  		else
  			$this->allowedDirectories[realpath($path)] = true;
  	}
code_tokens: public function allowDirectory ( $ path ) { if ( is_array ( $ path ) ) foreach ( $ path as $ dir ) $ this -> allowedDirectories [ realpath ( $ dir ) ] = true ; else $ this -> allowedDirectories [ realpath ( $ path ) ] = true ; }
docstring: adds a directory to the safelist for includes and other file-access plugins
  
  note that all the includePath directories you provide to the Dwoo_Template_File class
  are automatically marked as safe
  
  @param mixed $path a path name or an array of paths
docstring_tokens: adds a directory to the safelist for includes and other file - access plugins