[TYPO3-core] RFC: Fix some broken media relations

Kasper Skårhøj kasper2006 at typo3.com
Mon Mar 6 13:33:04 CET 2006


The "TYPO3_mainDir" constant should always be used in references to  
the "typo3/" directory.

The only case where this cannot be obtained is in locally installed  
extensions which has the "conf.php" file in which the BACK_PATH  
variable is hardcoded - that would require all locally installed  
extensions to be re-installed from TER/T3X files after a rename.

- kasper


On Mar 1, 2006, at 10:55 , Michael Stucki wrote:

> Hi Martin,
>
>>> I think you should not hardcode "typo3/" because people may want to
>>> rename it. Can you change that please?
>>
>> Is it possible to rename it? I recall a post of Kasper (long time  
>> ago) in
>> which he wrote that it might be possible, but anyway he doen't  
>> think it
>> should be renamed.
>
> I never tried, but if you hardcode the path here it will definitely  
> _not_ be
> possible! ;-)
>
> - michael
> -- 
> Use a newsreader! Check out
> http://typo3.org/community/mailing-lists/use-a-news-reader/
> _______________________________________________
> TYPO3-team-core mailing list
> TYPO3-team-core at lists.netfielders.de
> http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-team-core


- kasper

"A contribution a day keeps the fork away"
-------------------------------
kasper2006 at typo3.com | +45 20 999 115 | skype: kasperskaarhoej |  
gizmo: kasper_typo3





More information about the TYPO3-team-core mailing list