diff --git a/application/config/config.sample.php b/application/config/config.sample.php index adc2d85a..081a62e8 100644 --- a/application/config/config.sample.php +++ b/application/config/config.sample.php @@ -14,7 +14,7 @@ defined('BASEPATH') OR exit('No direct script access allowed'); */ $config['app_name'] = "Cloudlog"; -$config['app_version'] = "2.4.3"; +$config['app_version'] = "2.4.5"; $config['directory'] = "logbook"; $config['callbook'] = "hamqth"; // Options are hamqth or qrz $config['datadir'] = null; // default to install directory diff --git a/application/config/migration.php b/application/config/migration.php index 937c6cbd..b4c75212 100644 --- a/application/config/migration.php +++ b/application/config/migration.php @@ -21,7 +21,7 @@ $config['migration_enabled'] = TRUE; | be upgraded / downgraded to. | */ -$config['migration_version'] = 129; +$config['migration_version'] = 130; /* |-------------------------------------------------------------------------- diff --git a/application/migrations/130_add_version_to_config.php b/application/migrations/130_add_version_to_config.php new file mode 100644 index 00000000..968377e0 --- /dev/null +++ b/application/migrations/130_add_version_to_config.php @@ -0,0 +1,25 @@ + "version", 'option_value' => "2.4.5", 'autoload' => "yes"), + ); + + $this->db->insert_batch('options', $data); + } + + public function down() + { + // No option to down + } +} \ No newline at end of file diff --git a/application/views/debug/main.php b/application/views/debug/main.php index 5d986ffa..b3d59202 100644 --- a/application/views/debug/main.php +++ b/application/views/debug/main.php @@ -11,7 +11,7 @@
Version | -config->item('app_version')."\n"; ?> | +optionslib->get_option('version')."\n"; ?> |
Language | diff --git a/install/config/config.php b/install/config/config.php index c1f01bdb..9a17f463 100644 --- a/install/config/config.php +++ b/install/config/config.php @@ -14,7 +14,7 @@ defined('BASEPATH') OR exit('No direct script access allowed'); */ $config['app_name'] = "Cloudlog"; -$config['app_version'] = "2.4.4"; +$config['app_version'] = "2.4.5"; $config['directory'] = "%directory%"; $config['callbook'] = "hamqth"; // Options are hamqth or qrz