[TYPO3-dev] includeLibs user_isMobile problem
Fernando Arconada
falcifer2001 at yahoo.es
Sat Jul 11 11:21:22 CEST 2009
Hello
I'm trying to include a lib to match a userFunc
includeLibs.isMobile = fileadmin/user_mobile.php
temp.algo = TEXT
temp.algo.value = 333333
[userFunc = user_ismobile]
temp.algo = TEXT
temp.algo.value = 222222
[global]
but my lib it's never included
I have debugged a bit in typo3/sysext/cms/tslib/pagegen.php
// ******************************
// LIBRARY INCLUSION, TypoScript
// ******************************
$temp_incFiles=TSpagegen::getIncFiles();
reset($temp_incFiles);
while(list(,$temp_file)=each($temp_incFiles)) {
include_once('./'.$temp_file);
t3lib_div::debug('./'.$temp_file); echo "<br>";
}
My lib is in the $temp_incFiles but isnt included
any ideas? why a "while" instead a "foreach"?
Kind Regards
Fernando A.
More information about the TYPO3-dev
mailing list