// Small fix

This commit is contained in:
lLefevre
2012-09-10 13:06:49 +00:00
parent fb13c27a52
commit ff9d356823
3 changed files with 2 additions and 3 deletions
+1 -2
View File
@@ -2551,8 +2551,7 @@ class AdminImportControllerCore extends AdminController
switch ($_FILES['file']['error'])
{
case UPLOAD_ERR_INI_SIZE:
$this->errors[] = Tools::displayError('The uploaded file exceeds the upload_max_filesize directive in php.ini.
If your server configuration allows it, you may add a directive in your .htaccess, for example:')
$this->errors[] = Tools::displayError('The uploaded file exceeds the upload_max_filesize directive in php.ini. If your server configuration allows it, you may add a directive in your .htaccess, for example:')
.'<br/><a href="'.$this->context->link->getAdminLink('AdminMeta').'" >
<code>php_value upload_max_filesize 20M</code> '.
Tools::displayError('(click to open "Generators" tab)').'</a>';