mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2026-01-06 11:43:50 +00:00
Upgrade [CLI]: Fix minor language file issue.
This commit is contained in:
@@ -209,12 +209,16 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
//set the menu back to default
|
//set the menu back to default
|
||||||
if (isset($argv[2]) && (is_null($argv[2]) || $argv[2] == 'default')) {
|
if (!isset($argv[2]) || $argv[2] == 'default') {
|
||||||
//restore the menu
|
//restore the menu
|
||||||
$included = true;
|
$included = true;
|
||||||
require_once("core/menu/menu_restore_default.php");
|
require_once("core/menu/menu_restore_default.php");
|
||||||
unset($sel_menu);
|
unset($sel_menu);
|
||||||
|
|
||||||
|
//use upgrade language file
|
||||||
|
$language = new text;
|
||||||
|
$text = $language->get(null, 'core/upgrade');
|
||||||
|
|
||||||
//send message to the console
|
//send message to the console
|
||||||
echo $text['message-upgrade_menu']."\n";
|
echo $text['message-upgrade_menu']."\n";
|
||||||
}
|
}
|
||||||
@@ -229,6 +233,10 @@
|
|||||||
$included = true;
|
$included = true;
|
||||||
require_once("core/groups/permissions_default.php");
|
require_once("core/groups/permissions_default.php");
|
||||||
|
|
||||||
|
//use upgrade language file
|
||||||
|
$language = new text;
|
||||||
|
$text = $language->get(null, 'core/upgrade');
|
||||||
|
|
||||||
//send message to the console
|
//send message to the console
|
||||||
echo $text['message-upgrade_permissions']."\n";
|
echo $text['message-upgrade_permissions']."\n";
|
||||||
}
|
}
|
||||||
@@ -288,4 +296,4 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
?>
|
?>
|
||||||
Reference in New Issue
Block a user