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();
        }
    }