Skip to content

Commit

Permalink
Fixed: Opcode cache must be cleared when the language index is rebuilt
Browse files Browse the repository at this point in the history
  • Loading branch information
nuxwin committed Jun 23, 2015
1 parent 8281923 commit 5ab3511
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions CHANGELOG
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ BACKEND

FRONTEND
Fixed: Domain limit is not updated when a domain is being deleted (reseller level)
Fixed: Opcode cache must be cleared when the language index is rebuilt

YOUTRACK
Fixed: #IP-1362: Incorrect PHP temporary directory path in subdomain's vhost files - Apache2 ITK server impl.
Expand Down
3 changes: 3 additions & 0 deletions gui/library/Functions/Intl.php
Original file line number Diff line number Diff line change
Expand Up @@ -127,6 +127,9 @@ function i18n_buildLanguageIndex()
}
}

# Clear opcode cache if any
iMSCP_Utility_OpcodeCache::clearAllActive();

$iterator = new RecursiveIteratorIterator(
new RecursiveDirectoryIterator($cfg->GUI_ROOT_DIR . '/i18n/locales/', FilesystemIterator::SKIP_DOTS)
);
Expand Down

0 comments on commit 5ab3511

Please sign in to comment.