Skip to content

A PHP Blogging Platform. Simple and Powerful. Serverless Edition.

License

Notifications You must be signed in to change notification settings

FrostleafChan/typecho

 
 

Repository files navigation

see https://github.com/Lete114/Vercel-Typecho Serverless Typecho 随typecho上游更新 in config.inc.php:

/** 定义数据库参数 */
$db = new Typecho_Db($_ENV["ADAPTER_NAME"], $_ENV["PREFIX"]);
$db->addServer(array (
  'host' => $_ENV["HOST"],
  'user' => $_ENV["USERNAME"],
  'password' => $_ENV["PASSWORD"],
  'charset' => $_ENV["CHARSET"],
  'port' => $_ENV["PORT"],
  'database' => $_ENV["DATABASE"],
  'engine' => $_ENV["ENGINE"],
), Typecho_Db::READ | Typecho_Db::WRITE);
Typecho_Db::set($db);

About

A PHP Blogging Platform. Simple and Powerful. Serverless Edition.

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • PHP 62.3%
  • JavaScript 32.1%
  • CSS 3.3%
  • SCSS 2.0%
  • Other 0.3%