Skip to content

hi! 发现一个有趣的问题 #2

Description

@jackwu365

image

DB 配置如上

image

打印这段

image

结果出人意外,密码居然被替换了。

搞了半天,原来在hush-app上级目录phplibs 还有一个Hush

后来测试,只加载 hush-app 同级目录的hush-lib

最后总结也该在 脚本初始化造成的问题。

之需要 把hush/etc/global.config.php 下面 __HUSH_LIB_DIR 配置
define('__HUSH_LIB_DIR', _hush_realpath(__ROOT . '/../hush-lib'));

....................

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions