install/index.php

(开头部分) 19KB

这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。

<?php

/*******************************************************************\
|                                                                   |
|   房佳(新房报备ERP管理系统)                                     |
|                                                                   |
|   © 2020-2023 http://www.kaidandashi.com/ All rights reserved.    |
|                                                                   |
|   本系统由淮南市银泰软件科技有限公司提供技术支持                  |
|                                                                   |
|   QQ号:984784483                                                 |
|                                                                   |
\*******************************************************************/

if (file_exists('./install.lock')) {
    echo '
        <html>
            <head>
                <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
            </head>
            <body>
                恭喜您成功安装《房佳》!
                <br>如需重新安装,删除 install 目录下的 install.lock 文件,开启新的安装。
            </body>
        </html>';
    exit;
}
@set_time_limit(1000);  //延迟页面运行时间,单位 s
if (phpversion() <= '5.3.0')
    set_magic_quotes_runtime(0);
if ('5.4.0' > phpversion()){
    header("Content-type:text/html;charset=utf-8");
    exit('您的php版本过低,不能安装本软件,请升级到5.4.0或更高版本再安装,谢谢!');
}

date_default_timezone_set('PRC');
error_reporting(E_ALL & ~E_NOTICE);
header('Content-Type: text/html; charset=UTF-8');
define('SITEDIR', _dir_path(substr(dirname(__FILE__), 0, -8)));
//define('SITEDIR2', substr(SITEDIR,0,-7));
//echo SITEDIR2;
//exit;
//数据库
$sqlFile = 'fangjia.sql';
$config = 'config.php';
$configa = 'configa.php';
$database = 'database.php';
if (!file_exists(SITEDIR . 'install/' . $sqlFile) || !file_exists(SITEDIR . 'install/' . $config)) {
    echo '出错啦,缺失必需的安装文件!';
    exit;
}
$Title = "房佳安装向导";
$Powered = "Powered by Kaidandashi.com";
$steps = array(
    '1' => '安装许可协议',
    '2' => '运行环境检测',
    '3' => '安装参数设置',
    '4' => '安装详细过程',
    '5' => '安装完成',
);
后面还有 444 行代码,解锁后查看完整代码

24 小时内免费解锁 3 个项目,之后 1 积分/个。 规则说明

AI 解读

登录后可用,每次 10 积分,解读结果公开显示在下面。

还没有人解读过这个文件。