// Protection
git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@17750 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
@@ -107,6 +107,8 @@ function p15018_change_image_types()
|
||||
|
||||
function p15018_copy_or_rename($from, $to, $option)
|
||||
{
|
||||
if (!file_exists($from))
|
||||
return;
|
||||
if ($option)
|
||||
copy($from, $to);
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user