|
@@ 424-433 (lines=10) @@
|
| 421 |
|
PMF_System::renderFooter(); |
| 422 |
|
} |
| 423 |
|
|
| 424 |
|
if (!$this->_system->checkDatabase()) { |
| 425 |
|
echo '<p class="alert alert-danger">No supported database detected! Please install one of the following'. |
| 426 |
|
' database systems and enable the corresponding PHP extension in php.ini:</p>'; |
| 427 |
|
echo '<ul>'; |
| 428 |
|
foreach ($this->_system->getSupportedDatabases() as $database) { |
| 429 |
|
printf(' <li>%s</li>', $database[1]); |
| 430 |
|
} |
| 431 |
|
echo '</ul>'; |
| 432 |
|
PMF_System::renderFooter(); |
| 433 |
|
} |
| 434 |
|
|
| 435 |
|
if (!$this->_system->checkRequiredExtensions()) { |
| 436 |
|
echo '<p class="alert alert-danger">The following extensions are missing! Please enable the PHP extension(s) in '. |
|
@@ 435-444 (lines=10) @@
|
| 432 |
|
PMF_System::renderFooter(); |
| 433 |
|
} |
| 434 |
|
|
| 435 |
|
if (!$this->_system->checkRequiredExtensions()) { |
| 436 |
|
echo '<p class="alert alert-danger">The following extensions are missing! Please enable the PHP extension(s) in '. |
| 437 |
|
'php.ini.</p>'; |
| 438 |
|
echo '<ul>'; |
| 439 |
|
foreach ($this->_system->getMissingExtensions() as $extension) { |
| 440 |
|
printf(' <li>ext/%s</li>', $extension); |
| 441 |
|
} |
| 442 |
|
echo '</ul>'; |
| 443 |
|
PMF_System::renderFooter(); |
| 444 |
|
} |
| 445 |
|
|
| 446 |
|
if (!$this->_system->checkphpMyFAQInstallation()) { |
| 447 |
|
echo '<p class="alert alert-danger">It seems you\'re already running a version of phpMyFAQ. Please use the '. |