Actions
Bug #20992
closedTYPO3 autoloader is case-sensitive while PHP's is not
Start date:
2009-09-04
Due date:
% Done:
0%
Estimated time:
TYPO3 Version:
4.3
PHP Version:
5.2
Tags:
Complexity:
Is Regression:
Sprint Focus:
Description
From a couple of tests I made, I noted that TYPO3's autoloading mechanism is case-sensitive, where PHP is not. This creates confusion when creating an ext_autoload.php file.
Example taken from the Scheduler:
'tx_scheduler_task' => t3lib_extMgm::extPath('scheduler', 'class.tx_scheduler_task.php'),
In fact, the class' name is "tx_schedular_Task" (note the capital "T"). But if the line is changed in the ext_autoload.php file to:
'tx_scheduler_Task' => t3lib_extMgm::extPath('scheduler', 'class.tx_scheduler_task.php'),
then the class is not found by t3lib_div::callUserFunction().
(issue imported from #M11871)
Actions