issue 2119. fixed a bug. redeclare class

git-svn-id: http://xe-core.googlecode.com/svn/branches/maserati@12692 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
flyskyko 2013-02-05 02:32:15 +00:00
parent 2383b8d711
commit 9b5bee6544

View file

@ -948,7 +948,7 @@ class ModuleHandler extends Handler
}
// Create an instance with eval function
require($class_file);
require_once($class_file);
if(!class_exists($instance_name))
{
return NULL;