Git Product home page Git Product logo

Comments (5)

izhiqiang avatar izhiqiang commented on August 19, 2024

尝试使用其他语言进行读取python

f = open("env",encoding = "utf-8")
#输出读取到的数据
print(f.read())

运行结果是可以读到完整的内容

from framework.

sy-records avatar sy-records commented on August 19, 2024

手动编辑下吧 top-think/think#1061

from framework.

NHZEX avatar NHZEX commented on August 19, 2024

强烈建议考虑更换掉 tp 的 env 解析引擎 [Dog!]

我自己维护的包就用它了:vlucas/phpdotenv

from framework.

izhiqiang avatar izhiqiang commented on August 19, 2024

强烈建议考虑更换掉 tp 的 env 解析引擎 [Dog!]

我自己维护的包就用它了:vlucas/phpdotenv

抱歉,我不是env解析引擎问题,是我通过php自带函数进行读取.env文件内容,读取不到

from framework.

big-dream avatar big-dream commented on August 19, 2024

Close of top-think/think@9df20a8

from framework.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.