|
@@ 397-406 (lines=10) @@
|
| 394 |
|
PMF_System::renderFooter(); |
| 395 |
|
} |
| 396 |
|
|
| 397 |
|
if (! $this->_system->checkDatabase()) { |
| 398 |
|
echo '<p class="alert alert-error">No supported database detected! Please install one of the following' . |
| 399 |
|
' database systems and enable the corresponding PHP extension in php.ini:</p>'; |
| 400 |
|
echo '<ul>'; |
| 401 |
|
foreach ($this->_system->getSupportedDatabases() as $database) { |
| 402 |
|
printf(' <li>%s</li>', $database[1]); |
| 403 |
|
} |
| 404 |
|
echo '</ul>'; |
| 405 |
|
PMF_System::renderFooter(); |
| 406 |
|
} |
| 407 |
|
|
| 408 |
|
if (! $this->_system->checkRequiredExtensions()) { |
| 409 |
|
echo '<p class="alert alert-error">The following extensions are missing! Please enable the PHP extension(s) in ' . |
|
@@ 408-417 (lines=10) @@
|
| 405 |
|
PMF_System::renderFooter(); |
| 406 |
|
} |
| 407 |
|
|
| 408 |
|
if (! $this->_system->checkRequiredExtensions()) { |
| 409 |
|
echo '<p class="alert alert-error">The following extensions are missing! Please enable the PHP extension(s) in ' . |
| 410 |
|
'php.ini.</p>'; |
| 411 |
|
echo '<ul>'; |
| 412 |
|
foreach ($this->_system->getMissingExtensions() as $extension) { |
| 413 |
|
printf(' <li>ext/%s</li>', $extension); |
| 414 |
|
} |
| 415 |
|
echo '</ul>'; |
| 416 |
|
PMF_System::renderFooter(); |
| 417 |
|
} |
| 418 |
|
|
| 419 |
|
if (! $this->_system->checkRegisterGlobals()) { |
| 420 |
|
echo '<p class="alert alert-error">Please disable register_globals!</p>'; |