mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2025-12-30 00:53:50 +00:00
Add option to get the version number
This commit is contained in:
@@ -17,7 +17,7 @@
|
||||
|
||||
The Initial Developer of the Original Code is
|
||||
Mark J Crane <markjcrane@fusionpbx.com>
|
||||
Portions created by the Initial Developer are Copyright (C) 2008-2022
|
||||
Portions created by the Initial Developer are Copyright (C) 2008-2023
|
||||
the Initial Developer. All Rights Reserved.
|
||||
|
||||
Contributor(s):
|
||||
@@ -163,6 +163,11 @@
|
||||
//show the upgrade type
|
||||
//echo $upgrade_type."\n";
|
||||
|
||||
//get the version of the software
|
||||
if ($upgrade_type == 'version') {
|
||||
echo software::version()."\n";
|
||||
}
|
||||
|
||||
//run all app_defaults.php files
|
||||
if ($upgrade_type == 'domains') {
|
||||
require_once "resources/classes/config.php";
|
||||
|
||||
Reference in New Issue
Block a user