# Typecho 有用的常量

- Link: https://www.ixiqin.com/2020/06/11/typecho-useful-constants/
- Published: 2020-06-11T00:49:32+08:00
- Author: 白宦成

```null
    define('__TYPECHO_DEBUG__',true);
    ```

打开 Debug 模式

    ```php
    define('__TYPECHO_SECURE__', true);
    ```

强制SSL

    ```php
    define('__TYPECHO_GRAVATAR_PREFIX__', 'https://myavatar.com/avatar');
    ```

Avatar 前缀
