Exemplo n.º 1
0
    $tplConfigVars = array('languageOptions' => $installer->renderLanguageOptions($languageCodes));
    $twig->loadTemplate('mainconfig.twig')->display($tplConfigVars);
    ?>
            </div>
        </div>

        <div class="row text-center">
            <button class="btn btn-primary btn-lg" type="submit">
                Click to install phpMyFAQ <?php 
    echo PMF_System::getVersion();
    ?>
            </button>
        </div>
        <div class="row" style="padding-left: 20px;">
            <p class="alert alert-info" style="margin-top: 20px;">
                Your password will be saved with a <strong><?php 
    echo PMF_ENCRYPTION_TYPE;
    ?>
</strong>
                encryption. You can change the encryption type for passwords in <em>config/constants.php</em>.
            </p>
        </div>
    </form>
    <?php 
    PMF_System::renderFooter();
} else {
    $installer->startInstall();
    $twig->loadTemplate('success.twig')->display([]);
    $installer->cleanUpFiles();
    PMF_System::renderFooter();
}