change max class-name lenght in __autoload to 64, as there are classes with more then 40 chars: projectmanager_wizard_export_elements_csv

This commit is contained in:
Ralf Becker
2011-11-16 18:47:19 +00:00
parent c29e52a0fb
commit 07d420e12b

View File

@ -1450,7 +1450,7 @@ function try_lang($key,$vars=null)
function __autoload($class)
{
// fixing warnings generated by php 5.3.8 is_a($obj) trying to autoload huge strings
if (strlen($class) > 40) return;
if (strlen($class) > 64) return;
$components = explode('_',$class);
$app = array_shift($components);