Exemplo n.º 1
0
function shared_server()
{
    if (!($rtl_path = runtime_loading())) {
        if (empty($_SESSION['use_ini_method']) && runtime_loading_is_possible()) {
            runtime_loading_instructions();
        } else {
            php_ini_install_shared();
        }
    } else {
        list($lv, $mv, $newer_version) = ioncube_loader_version_information();
        $phpv = php_version_maj_min();
        echo "<p>The ionCube Loader {$lv} for PHP {$phpv} has been successfully installed.</p>";
        $is_legacy_loader = loader_major_version_instructions($mv);
        if ($is_legacy_loader) {
            loader_upgrade_instructions($lv, $newer_version);
        }
        successful_install_end_instructions($rtl_path);
    }
}
Exemplo n.º 2
0
function shared_server()
{
    if (!$rtl_path = runtime_loading()) {
        if (empty($_SESSION['use_ini_method']) && runtime_loading_is_possible()) {
            runtime_loading_instructions();
        } else {
            php_ini_install_shared();
        }
    } else {
        list($lv,$is_old) = ioncube_loader_version_information();
        echo "<p>The ionCube Loader $lv has been successfully installed.</p>";
        successful_install_end_instructions($rtl_path);
    }
}