Changeset 2320 for trunk/vendor/Sensei

Show
Ignore:
Timestamp:
09/01/07 16:56:54 (16 months ago)
Author:
jepso
Message:

fixed the method that checks for pdflatex

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/vendor/Sensei/Sensei/Doc/Renderer/Pdf.php

    r2314 r2320  
    5353        exec($this->_options['pdflatex_path'], $output); 
    5454         
    55         if ( ! isset($output[0]) || ! preg_match('/^This is pdfTeXk/', $output[0])) { 
     55        if ( ! isset($output[0]) || ! preg_match('/^This is pdfe?TeXk?/', $output[0])) { 
    5656            $message = 'pdfLaTeX does not seem to be installed, or pdflatex_path' 
    5757                     . ' option does not point to pdfLaTeX executable.';