Bug #17535 » 0006158_v2.patch
t3lib/config_default.php (Arbeitskopie) | ||
---|---|---|
if (!defined ('PATH_typo3conf')) die ('The configuration path was not properly defined!');
|
||
/**
|
||
* Fixes PHP bug #42587 on PHP 5.2.4-5.2.4-xxx which occours on symlinked resources and php setting cgi.fix_pathinfo enabled.
|
||
* @see http://bugs.typo3.org/view.php?id=6158
|
||
* @see http://bugs.php.net/bug.php?id=42587
|
||
* @see http://cvs.php.net/viewcvs.cgi/php-src/sapi/cgi/cgi_main.c?r1=1.333&r2=1.334
|
||
*/
|
||
if (version_compare('5.2.4', phpversion(), '<=') && version_compare(phpversion(), '5.2.5', '<') && ini_get('cgi.fix_pathinfo')) {
|
||
$currentDirectory = getcwd();
|
||
$scriptDirectory = t3lib_div::dirname(PATH_thisScript);
|
||
if ($currentDirectory!==false && $scriptDirectory && $currentDirectory!=$scriptDirectory) {
|
||
chdir($scriptDirectory);
|
||
}
|
||
}
|
||
$TYPO3_CONF_VARS = Array(
|
||
'GFX' => array( // Configuration of the image processing features in TYPO3. 'IM' and 'GD' are short for ImageMagick and GD library respectively.
|
||
'image_processing' => 1, // Boolean. Enables image processing features. Disabling this means NO image processing with either GD or IM!
|
- « Previous
- 1
- 2
- 3
- Next »