|
@@ 202-206 (lines=5) @@
|
| 199 |
|
|
| 200 |
|
$this->setInstallStatus(); |
| 201 |
|
|
| 202 |
|
if (!$this->status['config']) { |
| 203 |
|
if (!$this->createSettingsFile($params)) { |
| 204 |
|
throw new InstallationException(_elgg_services()->translator->translate('install:error:settings')); |
| 205 |
|
} |
| 206 |
|
} |
| 207 |
|
|
| 208 |
|
if (!$this->connectToDatabase()) { |
| 209 |
|
throw new InstallationException(_elgg_services()->translator->translate('install:error:databasesettings')); |
|
@@ 212-216 (lines=5) @@
|
| 209 |
|
throw new InstallationException(_elgg_services()->translator->translate('install:error:databasesettings')); |
| 210 |
|
} |
| 211 |
|
|
| 212 |
|
if (!$this->status['database']) { |
| 213 |
|
if (!$this->installDatabase()) { |
| 214 |
|
throw new InstallationException(_elgg_services()->translator->translate('install:error:cannotloadtables')); |
| 215 |
|
} |
| 216 |
|
} |
| 217 |
|
|
| 218 |
|
// load remaining core libraries |
| 219 |
|
$this->finishBootstraping('settings'); |