[TYPO3-dev] TYPO3_MOD_PATH correct value
Jan Bednarik
info at bednarik.org
Sun Apr 13 13:28:35 CEST 2008
Hey guys,
when generated by the kickstarted, mod1/conf.php defines this value:
define('TYPO3_MOD_PATH', '../typo3conf/ext/cooluri/mod1/');
obviously, you cannot install such extension as global then. So I tried:
define('TYPO3_MOD_PATH', 'ext/cooluri/mod1/');
but now the servers says:
Error in init.php: Path to TYPO3 main dir could not be resolved correctly.
This happens if the last 6 characters of this path,
/home/sortstav/www/typo3conf/, (\$temp_path) is NOT "typo3/" for some
reason.
You may have a strange server configuration. Or maybe you didn't set
constant TYPO3_MOD_PATH in your module?
So, what's the correct value?
Thanks
--
Jan Bednarik
www.bednarik.org - web about Typo3 in czech
More information about the TYPO3-dev
mailing list