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