fix - 6.99.2-6.99.3 upgrade fails if spectre.conf doesn't exist
This commit is contained in:
parent
262e57300f
commit
333618efc8
2 changed files with 5 additions and 0 deletions
|
|
@ -9,6 +9,7 @@
|
||||||
roughly every 30 hours under certain conditions.
|
roughly every 30 hours under certain conditions.
|
||||||
- fix: Problems with page.isSibling and page.inBranch
|
- fix: Problems with page.isSibling and page.inBranch
|
||||||
- Added new EMS event approval states
|
- Added new EMS event approval states
|
||||||
|
- Fix: 6.99.2-6.99.3 upgrade fails if spectre.conf doesn't exist
|
||||||
|
|
||||||
6.99.4
|
6.99.4
|
||||||
- fix: better checking of selected template type
|
- fix: better checking of selected template type
|
||||||
|
|
|
||||||
|
|
@ -37,6 +37,10 @@ sub addAssetIndex {
|
||||||
#-------------------------------------------------
|
#-------------------------------------------------
|
||||||
sub fixSpectre {
|
sub fixSpectre {
|
||||||
print "\tAdding more security to Spectre.\n" unless ($quiet);
|
print "\tAdding more security to Spectre.\n" unless ($quiet);
|
||||||
|
unless (-e "../../etc/spectre.conf") {
|
||||||
|
print "\t *** Skiping this portion of the upgrade. You do not have a spectre.conf file. Read gotcha.txt for details. ***\n" unless ($quiet);
|
||||||
|
return;
|
||||||
|
}
|
||||||
my $config = WebGUI::Config->new("../..","spectre.conf");
|
my $config = WebGUI::Config->new("../..","spectre.conf");
|
||||||
$config->set("ip","127.0.0.1");
|
$config->set("ip","127.0.0.1");
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue