[Typo3-dev] Questions about Paths

Kasper Skårhøj kasper at typo3.com
Tue Mar 23 16:55:57 CET 2004


See t3lib_div::getFileAbsFileName()


On Tue, 2004-03-23 at 16:18, Lars Erler wrote:
> Hello,
> 
> I'm trying to write my own extension :-)Everything works fine for me if 
> I hardcode my paths (e.g. for an external application) directly in the 
> extension.
> But what I want is that my paths could be configurable, that means for 
> me in the constant editor or somewhere else.
> 
> Example:
> 
> in my extension I have hardcoded that path
> 
> require_once('/home/www/somewhere/config.inc.php');
> 
> 
> What I want is something like this, this didn't work for me :-(
> 
> require_once($this->cObj->stdWrap($conf['pocconfig']./config.inc.php];
> 
> ??!!
> 
> What I have to do to solve that Problem?
> 
> 
> Lars
> _______________________________________________
> Typo3-dev mailing list
> Typo3-dev at lists.netfielders.de
> http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-dev
-- 

Best regards

- kasper

---------------
"Zero MS-gravity" - finally migrated to Linux!






More information about the TYPO3-dev mailing list