|
@@ 450-469 (lines=20) @@
|
| 447 |
|
// $this->CONFIG->translations['en']['install:settings:help:dataroot:apache']; |
| 448 |
|
//} |
| 449 |
|
|
| 450 |
|
if ($this->isAction) { |
| 451 |
|
do { |
| 452 |
|
//if (!$this->createDataDirectory($submissionVars, $formVars)) { |
| 453 |
|
// break; |
| 454 |
|
//} |
| 455 |
|
|
| 456 |
|
if (!$this->validateSettingsVars($submissionVars, $formVars)) { |
| 457 |
|
break; |
| 458 |
|
} |
| 459 |
|
|
| 460 |
|
if (!$this->saveSiteSettings($submissionVars)) { |
| 461 |
|
break; |
| 462 |
|
} |
| 463 |
|
|
| 464 |
|
system_message(_elgg_services()->translator->translate('install:success:settings')); |
| 465 |
|
|
| 466 |
|
$this->continueToNextStep('settings'); |
| 467 |
|
|
| 468 |
|
} while (FALSE); // PHP doesn't support breaking out of if statements |
| 469 |
|
} |
| 470 |
|
|
| 471 |
|
$formVars = $this->makeFormSticky($formVars, $submissionVars); |
| 472 |
|
|
|
@@ 515-530 (lines=16) @@
|
| 512 |
|
), |
| 513 |
|
); |
| 514 |
|
|
| 515 |
|
if ($this->isAction) { |
| 516 |
|
do { |
| 517 |
|
if (!$this->validateAdminVars($submissionVars, $formVars)) { |
| 518 |
|
break; |
| 519 |
|
} |
| 520 |
|
|
| 521 |
|
if (!$this->createAdminAccount($submissionVars, $this->autoLogin)) { |
| 522 |
|
break; |
| 523 |
|
} |
| 524 |
|
|
| 525 |
|
system_message(_elgg_services()->translator->translate('install:success:admin')); |
| 526 |
|
|
| 527 |
|
$this->continueToNextStep('admin'); |
| 528 |
|
|
| 529 |
|
} while (FALSE); // PHP doesn't support breaking out of if statements |
| 530 |
|
} |
| 531 |
|
|
| 532 |
|
// bit of a hack to get the password help to show right number of characters |
| 533 |
|
|