[Typo3-dev] $BACK_PATH in wizards

Robert Lemke rl at robertlemke.de
Tue Aug 10 12:11:33 CEST 2004


On Tue, 2004-08-10 at 11:34, Martin T. Kutschker wrote:
> > 
> > 	// Initialize browser
> > define('TYPO3_MOD_PATH', '../typo3conf/ext/mywizard/');
> > $BACK_PATH='../../../typo3/';
> > 
> > require ($BACK_PATH.'init.php');
> > require ($BACK_PATH.'template.php');
> 
> Did it this way myself, but I hoped for a cleaner solution.

Yes, that's true. I think it's more or less okay for the back path but hardcoding 
the "typo3conf" directory is not a clean way at all ...

-- 
robert

"They placed me on this earth without a manual. 
 And I dare to say, I’m doing just fine without ;)"






More information about the TYPO3-dev mailing list