public function getSetupPaths( $site )
	{
		$setupPaths = array();

		foreach ( $this->_manifests as $path => $manifest )
		{
			if( isset( $manifest['setup'] ) )
			{
				foreach( $manifest['setup'] as $relpath )
				{
					$setupPaths[] = $path . DIRECTORY_SEPARATOR . $relpath;

					$sitePath = $path . DIRECTORY_SEPARATOR . $relpath . DIRECTORY_SEPARATOR . $site;

					if( is_dir( realpath( $sitePath ) ) ) {
						$setupPaths[] = $sitePath;
					}
				}
			}
		}

		return $setupPaths;
	}
public function getSetupPaths( $site )
	{
		$setupPaths = array();

		foreach ( $this->_manifests as $path => $manifest )
		{
			if( isset( $manifest['setup'] ) )
			{
				foreach( $manifest['setup'] as $relpath )
				{
					$setupPaths[] = $path . DIRECTORY_SEPARATOR . $relpath;

					$sitePath = $path . DIRECTORY_SEPARATOR . $relpath . DIRECTORY_SEPARATOR . $site;

					if( is_dir( realpath( $sitePath ) ) ) {
						$setupPaths[] = $sitePath;
					}
				}
			}
		}

		return $setupPaths;
	}
public function getSetupPaths ( $ site ) { $ setupPaths = array ( ) ; foreach ( $ this -> _manifests as $ path => $ manifest ) { if ( isset ( $ manifest [ 'setup' ] ) ) { foreach ( $ manifest [ 'setup' ] as $ relpath ) { $ setupPaths [ ] = $ path . DIRECTORY_SEPARATOR . $ relpath ; $ sitePath = $ path . DIRECTORY_SEPARATOR . $ relpath . DIRECTORY_SEPARATOR . $ site ; if ( is_dir ( realpath ( $ sitePath ) ) ) { $ setupPaths [ ] = $ sitePath ; } } } } return $ setupPaths ; }
Returns the list of paths where setup tasks are stored.

@param string $site Name of the site like "default", "unitperf" and "unittest"
@return array List of setup paths
Returns the list of paths where setup tasks are stored .