HEX
Server: nginx/1.28.1
System: Linux 10-41-63-61 6.8.0-31-generic #31-Ubuntu SMP PREEMPT_DYNAMIC Sat Apr 20 00:40:06 UTC 2024 x86_64
User: www (1001)
PHP: 7.4.33
Disabled: passthru,exec,system,putenv,chroot,chgrp,chown,shell_exec,popen,proc_open,pcntl_exec,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru,pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,imap_open,apache_setenv
Upload Files
File: /www/wwwroot//bb.cwoyt.com/ThinkPHP/Conf/convention_sae.php
<?php
// +----------------------------------------------------------------------
// | ThinkPHP [ WE CAN DO IT JUST THINK IT ]
// +----------------------------------------------------------------------
// | Copyright (c) 2006-2013 http://thinkphp.cn All rights reserved.
// +----------------------------------------------------------------------
// | Licensed ( http://www.apache.org/licenses/LICENSE-2.0 )
// +----------------------------------------------------------------------
// | Author: luofei614 <weibo.com/luofei614>
// +----------------------------------------------------------------------

/**
 * SAE模式惯例配置文件
 * 该文件请不要修改,如果要覆盖惯例配置的值,可在项目配置文件中设定和惯例不符的配置项
 * 配置名称大小写任意,系统会统一转换成小写
 * 所有配置参数都可以在生效前动态改变
 */
defined('THINK_PATH') or exit();
$st = 	new SaeStorage();
return array(
	//SAE下固定mysql配置
	'DB_TYPE'			=> 	'mysql',     // 数据库类型
	'DB_DEPLOY_TYPE'	=> 	1,
	'DB_RW_SEPARATE'	=>	true,
	'DB_HOST'			=> 	SAE_MYSQL_HOST_M.','.SAE_MYSQL_HOST_S, // 服务器地址
	'DB_NAME'			=> 	SAE_MYSQL_DB,        // 数据库名
	'DB_USER'			=> 	SAE_MYSQL_USER,    // 用户名
	'DB_PWD'			=> 	SAE_MYSQL_PASS,         // 密码
	'DB_PORT'			=> 	SAE_MYSQL_PORT,        // 端口
	//更改模板替换变量,让普通能在所有平台下显示
	'TMPL_PARSE_STRING'	=>	array(
	  	// __PUBLIC__/upload  -->  /Public/upload -->http://appname-public.stor.sinaapp.com/upload
		'/Public/upload'	=>	$st->getUrl('public','upload')
	),
    'LOG_TYPE'			=>	'Sae',
    'CHECK_APP_DIR'		=>	false
);