function default_page($loader_extension = LOADER_EXTENSION_NAME) { $self = get_self(); foreach (array('self') as $vn) { if (empty(${$vn})) { error("Unable to initialise ({$vn})."); } } heading(); $wizard_update = check_for_wizard_update(true); if (extension_loaded($loader_extension)) { loader_already_installed(); } else { loader_not_installed(); } footer($wizard_update); }
function default_page($loader_extension = LOADER_EXTENSION_NAME) { $self = get_self(); foreach (array('self') as $vn) { if (empty(${$vn})) { error("Unable to initialise ({$vn})."); } } heading(); $wizard_update = check_for_wizard_update(true); $rtl = try_runtime_loading_if_applicable(); $server_type = find_server_type(); if (extension_loaded($loader_extension) && $server_type != SERVER_UNKNOWN) { loader_already_installed($rtl); } else { loader_not_installed(); } send_stats('default'); footer($wizard_update); }