[TYPO3-dev] update reference using php-cli?
Tonni Aagesen
goes.to at dev.null
Thu May 18 15:01:41 CEST 2006
Hi,
I wonder if anyone else have run into this error when updating
references in cli-mode (in typo3 v4.0):
ta at cello cli $ ./refindex_cli.phpsh
ERROR: Module name, "tools_dbint", was not prefixed with "_CLI_"
I changed this line in refindex_cli.phpsh to get a correct path:
- define('PATH_thisScript',$_ENV['_']?$_ENV['_']:$_SERVER['_']);
+ define('PATH_thisScript',$_ENV['PWD']?$_ENV['PWD']:$_SERVER['PWD']);
Any hints?
--
Regards
Tonni Aagesen
www.pil.dk & www.quickpay.dk
More information about the TYPO3-dev
mailing list