// 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:
@@ -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))
|
||||
|
||||
Reference in New Issue
Block a user