// 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:
1 parent
ebd0c527ea
commit
85683fd9f0
1 file changed
+3
@@ -1909,6 +1909,9 @@ abstract class ModuleCore
|
|||||||
{
|
{
|
||||||
$path = Autoload::getInstance()->getClassPath($classname.'Core');
|
$path = Autoload::getInstance()->getClassPath($classname.'Core');
|
||||||
|
|
||||||
|
if (!Autoload::getInstance()->getClassPath($classname))
|
||||||
|
return true;
|
||||||
|
|
||||||
// Check if override file is writable
|
// Check if override file is writable
|
||||||
$override_path = _PS_ROOT_DIR_.'/'.Autoload::getInstance()->getClassPath($classname);
|
$override_path = _PS_ROOT_DIR_.'/'.Autoload::getInstance()->getClassPath($classname);
|
||||||
if (!is_writable($override_path))
|
if (!is_writable($override_path))
|
||||||
|
|||||||
Reference in new issue
Block a user