[TYPO3-english] Path to typo3temp folder

Kay Strobach typo3 at kay-strobach.de
Wed May 4 11:02:15 CEST 2011


Please never use the document root ;)
This can cause massive problems, if the TYPO3 core is not installed in
the doc Root.

The way to go is:

	PATH_site.'typo3temp/'

Regards
Kay

Am 04.05.2011 07:54, schrieb Sebastiaan de Jonge:
> I guess it's more reliable to use the PATH_site constant instead of
> $_SERVER['DOCUMENT_ROOT']. So:
> 
> PATH_site.'typo3temp/'
> 
> On Wed, May 4, 2011 at 6:45 AM, Sergey Alexandrov <serg at alexandrov.us>wrote:
> 
>> what's a problem with $_SERVER['DOCUMENT_ROOT'].'typo3temp' ?
>>
>>
>> On 5/4/2011 12:34 AM, Gorosito Gonzalo wrote:
>>
>>> Hi Guys,
>>>
>>> Does anybody know how to find the filesystem path to the typo3temp folder?
>>> May be in any Global variable in the t3 framework?
>>>
>>> Thanks in advance,
>>>
>> _______________________________________________
>> TYPO3-english mailing list
>> TYPO3-english at lists.typo3.org
>> http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english
>>
> 
> 
> Kind regards,
> Sebastiaan de Jonge


-- 
http://www.kay-strobach.de - Open Source Rocks


More information about the TYPO3-english mailing list