Bug #18520 » class.external_parser.php.diff

Administrator Admin, 2008-03-31 13:11

View differences:

./class.external_parser.php 2008-03-31 12:52:34.000000000 +0200
114 114
					// PDF
115 115
				if ($indexerConfig['pdftools'])	{
116 116
					$pdfPath = ereg_replace("\/$",'',$indexerConfig['pdftools']).'/';
117
					if (ini_get('safe_mode') || (@is_file($pdfPath.'pdftotext'.$exe) && @is_file($pdfPath.'pdfinfo'.$exe)))	{
117
					if (ini_get('open_basedir') || ini_get('safe_mode') || (@is_file($pdfPath.'pdftotext'.$exe) && @is_file($pdfPath.'pdfinfo'.$exe)))	{
118 118
						$this->app['pdfinfo'] = $pdfPath.'pdfinfo'.$exe;
119 119
						$this->app['pdftotext'] = $pdfPath.'pdftotext'.$exe;
120 120
							// PDF mode:
(1-1/7)