HEX
Server: Apache
System: FreeBSD www860.sakura.ne.jp 13.0-RELEASE-p14 FreeBSD 13.0-RELEASE-p14 #2: Mon Dec 9 13:54:55 JST 2024 root@www5301.sakura.ne.jp:/usr/obj/usr/src/amd64.amd64/sys/GENERIC amd64
User: yoyo0427 (1306)
PHP: 8.3.8
Disabled: NONE
Upload Files
File: //home/ports/sakura-cms/xoops-cube-legacy/files/install_nextStep.inc.php.in
<?php
/**
 *
 * @package Legacy
 * @version $Id: install_nextStep.inc.php,v 1.3 2008/09/25 15:12:21 kilica Exp $
 * @copyright Copyright 2005-2007 XOOPS Cube Project  <https://github.com/xoopscube/legacy>
 * @license https://github.com/xoopscube/legacy/blob/master/docs/GPL_V2.txt GNU GENERAL PUBLIC LICENSE Version 2
 *
 */
    include_once '../mainfile.php';
    header('Location: ' . XOOPS_URL . '/');
    chdir(XOOPS_ROOT_PATH);
    $InstallDirectory = XOOPS_ROOT_PATH . '/install';
    if( is_dir($InstallDirectory) ) exec('/bin/rm -R ' . $InstallDirectory);
    exec('/bin/chmod a-wx ' . XOOPS_ROOT_PATH . '/mainfile.php');
?>