8000 GitHub - top-think/think-sae at 2.0
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
This repository was archived by the owner on Jul 9, 2023. It is now read-only.

top-think/think-sae

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 

Repository files navigation

ThinkPHP 5.1 SAE扩展

添加下面的配置参数即可

log.php

'type'=> '\think\sae\Log',

template.php

'type'	=>	'Think',
'compile_type'	=> '\think\sae\Template',

cache.php

'type'  =>  '\think\sae\Cache',

数据库配置文件database.php中修改为:

// 数据库类型
'type'        => 'mysql',
// 服务器地址
'hostname'    => SAE_MYSQL_HOST_M . ',' . SAE_MYSQL_HOST_S,
// 数据库名
'database'    => SAE_MYSQL_DB,
// 用户名
'username'    => SAE_MYSQL_USER,
// 密码
'password'    => SAE_MYSQL_PASS,
// 端口
'hostport'    => SAE_MYSQL_PORT,

About

sae support for thinkphp5

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 3

  •  
  •  
  •  

Languages

0