src/core/framework/core/3rdparty/dwoo/Dwoo/Security/Policy.php
public function allowDirectory($path)
	{
		if (is_array($path))
			foreach ($path as $dir)
				$this->allowedDirectories[realpath($dir)] = true;
		else
			$this->allowedDirectories[realpath($path)] = true;
	}
public function allowDirectory($path)
	{
		if (is_array($path))
			foreach ($path as $dir)
				$this->allowedDirectories[realpath($dir)] = true;
		else
			$this->allowedDirectories[realpath($path)] = true;
	}
public function allowDirectory ( $ path ) { if ( is_array ( $ path ) ) foreach ( $ path as $ dir ) $ this -> allowedDirectories [ realpath ( $ dir ) ] = true ; else $ this -> allowedDirectories [ realpath ( $ path ) ] = true ; }
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
adds a directory to the safelist for includes and other file - access plugins