Skip to content

Commit

Permalink
fixed problem that occured if you do a new installation while a sessi…
Browse files Browse the repository at this point in the history
…on still persists

git-svn-id: http://svn.ilias.de/svn/ilias/trunk@2791 21b2c9ec-7c21-0410-8b45-9bfb8ed2bfc5
  • Loading branch information
shofmann committed Nov 24, 2003
1 parent 772c2af commit af40cce
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions setup/classes/class.ilSetupGUI.php
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ function ilSetupGUI()
$this->displayHeader();

// main cmd handling
if (!$this->isAuthenticated())
if (!$this->isAuthenticated() or !$this->isInstalled())
{
// check for first time installation or migrate an old one first
if (!$this->isInstalled() or !($this->ini->readVariable("clients","path")))
Expand Down Expand Up @@ -563,8 +563,8 @@ function displayPreliminaries()

$this->tpl->addBlockFile("CONTENT","content","tpl.preliminaries.html");

$this->tpl->setVariable("TXT_SETUP_TITLE",$this->lng->txt("setup_welcome"));
$this->tpl->setVariable("TXT_SETUP_WELCOME", $this->lng->txt("setup_intro"));
$this->tpl->setVariable("TXT_SETUP_TITLE",$this->lng->txt("ilias_setup"));
$this->tpl->setVariable("TXT_SETUP_WELCOME", $this->lng->txt("setup_welcome"));
$this->tpl->setVariable("TXT_SETUP_INIFILE_DESC", $this->lng->txt("setup_inifile_desc"));
$this->tpl->setVariable("TXT_SETUP_DATABASE_DESC", $this->lng->txt("setup_database_desc"));
$this->tpl->setVariable("TXT_SETUP_LANGUAGES_DESC", $this->lng->txt("setup_languages_desc"));
Expand Down Expand Up @@ -1749,7 +1749,7 @@ function displayContactData()
$this->tpl->addBlockFile("SETUP_CONTENT","setup_content","tpl.clientsetup_contact.html");

// client values
$this->tpl->setVariable("INST_NAME",ilUtil::prepareFormOutput($this->client->getName()));
$this->tpl->setVariable("INST_NAME",ilUtil::prepareFormOutput(($this->client->getName()) ? $this->client->getName() : $this->client->getId()));
$this->tpl->setVariable("INST_INFO",ilUtil::prepareFormOutput($this->client->getDescription()));
$this->tpl->setVariable("INST_INSTITUTION",ilUtil::prepareFormOutput($settings["inst_institution"]));

Expand Down

0 comments on commit af40cce

Please sign in to comment.