added initial configuration wizard
This commit is contained in:
parent
a9faaee730
commit
393fdc1dea
6 changed files with 116 additions and 3 deletions
|
|
@ -1,5 +1,5 @@
|
|||
package WebGUI;
|
||||
our $VERSION = "6.3.0";
|
||||
our $VERSION = "6.4.0";
|
||||
our $STATUS = "beta";
|
||||
|
||||
#-------------------------------------------------------------------
|
||||
|
|
@ -53,6 +53,15 @@ sub _processOperations {
|
|||
return $output;
|
||||
}
|
||||
|
||||
#-------------------------------------------------------------------
|
||||
sub _setup {
|
||||
require WebGUI::Operation::WebGUI;
|
||||
my $output = WebGUI::Operation::WebGUI::www_setup();
|
||||
$output = WebGUI::HTTP::getHeader().$output;
|
||||
WebGUI::Session::close();
|
||||
return $output;
|
||||
}
|
||||
|
||||
#-------------------------------------------------------------------
|
||||
sub _upgrading {
|
||||
my $webguiRoot = shift;
|
||||
|
|
@ -76,6 +85,7 @@ sub page {
|
|||
my $fastcgi = shift;
|
||||
WebGUI::Session::open($webguiRoot,$configFile,$fastcgi) unless ($useExistingSession);
|
||||
return _upgrading($webguiRoot) if ($session{setting}{specialState} eq "upgrading");
|
||||
return _setup() if ($session{setting}{specialState} eq "init");
|
||||
my $output = _processOperations();
|
||||
if ($output eq "") {
|
||||
my $asset = WebGUI::Asset->newByUrl($assetUrl);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue