You are here

function _pdfpreview_realpath in PDFPreview 6

2 calls to _pdfpreview_realpath()
_pdfpreview_convert_first_page in ./pdfpreview.module
Convert the first page of a PDF document
_pdfpreview_prepare_filesystem in ./pdfpreview.module
Prepares filesystem to store previews

File

./pdfpreview.module, line 279
This module creates a formatter for CCK filefields that shows a snapshot of the first page of pdf files as link to the file.

Code

function _pdfpreview_realpath($path) {
  return $_SERVER['DOCUMENT_ROOT'] . base_path() . $path;
}