Skip to content

Commit

Permalink
Upgrade Installer
Browse files Browse the repository at this point in the history
Installer was dropping new 14.3 columns data as these columns did not exist in module.xml schema.
Modify schema to include all columns, including legacy columns, and then move data prior to modifying schema.
  • Loading branch information
stevenLAD committed Jan 15, 2022
1 parent 0dec441 commit 360ceea
Show file tree
Hide file tree
Showing 7 changed files with 1,030 additions and 84 deletions.
4 changes: 2 additions & 2 deletions Sccp_manager.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -675,9 +675,9 @@ private function findInstLangs() {
*/

private function initializeTFtpLanguagePath() {
$dir = $this->sccppath["tftp_lang_path"];
//$dir = $this->sccppath["tftp_lang_path"];
foreach ($this->extconfigs->getExtConfig('sccp_lang') as $langKey => $langValueArr) {
$localeDir = $dir . DIRECTORY_SEPARATOR . $langValueArr['locale'];
$localeDir = $this->sccppath["tftp_lang_path"] . DIRECTORY_SEPARATOR . $langValueArr['locale'];
if (!is_dir($localeDir)) {
if (!mkdir($localeDir, 0755, true)) {
die("Error creating $localeDir directory");
Expand Down
Loading

0 comments on commit 360ceea

Please sign in to comment.