public function getAbsoluteDirectoryPath(array $directoryArray)
    {
        if (is_array($directoryArray) && count($directoryArray)) {
            foreach ($directoryArray as $key => $directory) {
                $directory = rtrim($directory, '/');
                $directoryArray[$key] = PATH_site . $directory . '/';
            }
            return $directoryArray;
        } else {
            return array();
        }
    }
public function getAbsoluteDirectoryPath(array $directoryArray)
    {
        if (is_array($directoryArray) && count($directoryArray)) {
            foreach ($directoryArray as $key => $directory) {
                $directory = rtrim($directory, '/');
                $directoryArray[$key] = PATH_site . $directory . '/';
            }
            return $directoryArray;
        } else {
            return array();
        }
    }
public function getAbsoluteDirectoryPath ( array $ directoryArray ) { if ( is_array ( $ directoryArray ) && count ( $ directoryArray ) ) { foreach ( $ directoryArray as $ key => $ directory ) { $ directory = rtrim ( $ directory , '/' ) ; $ directoryArray [ $ key ] = PATH_site . $ directory . '/' ; } return $ directoryArray ; } else { return array ( ) ; } }
get absolute directory paths of given path in array
@param array $directoryArray
@return array An Array containing the absolute directory paths
get absolute directory paths of given path in array