Hallo - bis jetzt hatte ich immer meine userFunc so includiert & verarbeitet -
das scheint in 7.5 nicht mehr zu funzen - kann mir da jemand auf die Sprünge helfen?
includeLibs.user_initMdetect = fileadmin/system/script/mdetect/initMdetect.php
temp.MDETECT = USER
temp.MDETECT {
userFunc = user_initMdetect->main
}
######################################################
// userFunc
class user_initMdetect
{
var $cObj;
function main($content,$conf)
{
require_once(dirname(__FILE__).'/mdetect.php');
$detectSmartPhone = new uagent_info();
if($detectSmartPhone->DetectSmartphone())
{
$isSmartPhone = 1;
} else {
$isSmartPhone = 0;
}
return $isSmartPhone;
}
}
_______________________________________________
TYPO3-german mailing list
TYPO3-german@lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-german