2017 © Pedro Peláez
 

library think-sae

sae support for thinkphp5

image

topthink/think-sae

sae support for thinkphp5

  • Friday, January 6, 2017
  • by topthink
  • Repository
  • 2 Watchers
  • 8 Stars
  • 6,758 Installations
  • PHP
  • 2 Dependents
  • 0 Suggesters
  • 5 Forks
  • 2 Open issues
  • 3 Versions
  • 11 % Grown

The README.md

ThinkPHP 5.0 SAE扩展

添加下面的配置参数即可, (*1)

'log'=>[
    'type'=> '\think\sae\Log',
]

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

]
'cache'=>[
    'type'  =>  '\think\sae\Cache',
]

数据库配置文件database.php中修改为:, (*2)

// 数据库类型
'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,

The Versions

06/01 2017

dev-master

9999999-dev

sae support for thinkphp5

  Sources   Download

Apache-2.0

by liu21st

08/10 2016

v1.1

1.1.0.0

sae support for thinkphp5

  Sources   Download

Apache-2.0

by liu21st

25/07 2016

1.0

1.0.0.0

sae support for thinkphp5

  Sources   Download

Apache-2.0

by liu21st