PHP Classes

File: htdocs/install/page_end.php

Recommend this page to a friend!
  Packages of Michael Beck   Xoops 2.5   htdocs/install/page_end.php   Download  
File: htdocs/install/page_end.php
Role: Example script
Content type: text/plain
Description: Example script
Class: Xoops 2.5
Modular content management publication system
Author: By
Last change: fix for xoops_setcookie()
https://github.com/XOOPS/XoopsCore25/issues/1584
copyright update
short array
Merge pull request #1239 from Andrew-Staves-Activ/notificationhandler_subscribe_success

Use xoops_setcookie instead of setcookie
Merge branch 'feature/php8_templates' of https://github.com/mambax7/XoopsCore25 into feature/php8_templates

# Conflicts:
# htdocs/themes/xswatch4/modules/publisher/publisher_item.tpl
Merge xswatch4
Date: 1 month ago
Size: 1,889 bytes
 

Contents

Class file image Download
<?php
/*
 You may not change or alter any portion of this comment or credits
 of supporting developers from this source code or any supporting source code
 which is considered copyrighted (c) material of the original comment or credit authors.

 This program is distributed in the hope that it will be useful,
 but WITHOUT ANY WARRANTY; without even the implied warranty of
 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
*/
/**
 * Installer final page
 *
 * See the enclosed file license.txt for licensing information.
 * If you did not receive this file, get it at https://www.gnu.org/licenses/gpl-2.0.html
 *
 * @copyright (c) 2000-2025 XOOPS Project (https://xoops.org)
 * @license GNU GPL 2.0 or later (https://www.gnu.org/licenses/gpl-2.0.html)
 * @package installer
 * @since 2.3.0
 * @author Haruki Setoyama <haruki@planewave.org>
 * @author Kazumi Ono <webmaster@myweb.ne.jp>
 * @author Skalpa Keo <skalpa@xoops.org>
 * @author Taiwen Jiang <phppp@users.sourceforge.net>
 * @author DuGris (aka L. JEN) <dugris@frxoops.org>
 **/

require_once __DIR__ . '/include/common.inc.php';
include_once
__DIR__ . '/../class/xoopsload.php';
include_once
__DIR__ . '/../class/preload.php';
include_once
__DIR__ . '/../class/database/databasefactory.php';
include_once
__DIR__ . '/../class/logger/xoopslogger.php';

$_SESSION = [];
xoops_setcookie('xo_install_user', '', 0, '', '');
$key = \Xmf\Jwt\KeyFactory::build('install');
$key->kill();
defined('XOOPS_INSTALL') || die('XOOPS Installation wizard die');

$install_rename_suffix = uniqid(substr(md5($x = mt_rand()) . $x, -10), true);
$installer_modified = 'install_remove_' . $install_rename_suffix;

$pageHasForm = false;

$content = '';
include
__DIR__ . "/language/{$wizard->language}/finish.php";

include
__DIR__ . '/include/install_tpl.php';