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:46:13 +00:00
parent 978b014ffc
commit 15d318847d

View File

@ -1439,7 +1439,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);