Bug #14586 » class.external_parser.php.diff
./class.external_parser.php 2008-03-31 12:52:34.000000000 +0200 | ||
---|---|---|
// PDF
|
||
if ($indexerConfig['pdftools']) {
|
||
$pdfPath = ereg_replace("\/$",'',$indexerConfig['pdftools']).'/';
|
||
if (ini_get('safe_mode') || (@is_file($pdfPath.'pdftotext'.$exe) && @is_file($pdfPath.'pdfinfo'.$exe))) {
|
||
if (ini_get('open_basedir') || ini_get('safe_mode') || (@is_file($pdfPath.'pdftotext'.$exe) && @is_file($pdfPath.'pdfinfo'.$exe))) {
|
||
$this->app['pdfinfo'] = $pdfPath.'pdfinfo'.$exe;
|
||
$this->app['pdftotext'] = $pdfPath.'pdftotext'.$exe;
|
||
// PDF mode:
|
- « Previous
- 1
- 2
- Next »