V1.5.0 released: API, Refund procress improvement, Order data management
This commit is contained in:
@@ -568,7 +568,7 @@ class AdminLanguagesControllerCore extends AdminController
|
||||
parent::afterImageUpload();
|
||||
|
||||
if (($id_lang = (int)Tools::getValue('id_lang')) &&
|
||||
isset($_FILES) && count($_FILES) && file_exists(_PS_LANG_IMG_DIR_.$id_lang.'.jpg')) {
|
||||
isset($_FILES) && count($_FILES) && (bool)Tools::file_get_contents($this->context->link->getMediaLink(_THEME_LANG_DIR_.$id_lang.'.jpg'))) { //by webkul
|
||||
$current_file = _PS_TMP_IMG_DIR_.'lang_mini_'.$id_lang.'_'.$this->context->shop->id.'.jpg';
|
||||
|
||||
if (file_exists($current_file)) {
|
||||
|
||||
Reference in New Issue
Block a user