// One more check

git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@16921 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
dMetzger
2012-08-21 08:41:48 +00:00
parent ebd0c527ea
commit 85683fd9f0

View File

@@ -1909,6 +1909,9 @@ abstract class ModuleCore
{
$path = Autoload::getInstance()->getClassPath($classname.'Core');
if (!Autoload::getInstance()->getClassPath($classname))
return true;
// Check if override file is writable
$override_path = _PS_ROOT_DIR_.'/'.Autoload::getInstance()->getClassPath($classname);
if (!is_writable($override_path))