Changeset 2314 for trunk/vendor/Sensei
- Timestamp:
- 09/01/07 01:28:28 (17 months ago)
- Files:
-
- 1 modified
-
trunk/vendor/Sensei/Sensei/Doc/Renderer/Pdf.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/vendor/Sensei/Sensei/Doc/Renderer/Pdf.php
r2308 r2314 51 51 public function testRequirements() 52 52 { 53 exec($this->_options['pdflatex_path'] . ' --version', $output); 54 if ( ! isset($output[0]) || substr($output[0], 0, 6) !== 'pdfTeX') { 53 exec($this->_options['pdflatex_path'], $output); 54 55 if ( ! isset($output[0]) || ! preg_match('/^This is pdfTeXk/', $output[0])) { 55 56 $message = 'pdfLaTeX does not seem to be installed, or pdflatex_path' 56 57 . ' option does not point to pdfLaTeX executable.';