GithubHelp home page GithubHelp logo

Comments (3)

codehub666 avatar codehub666 commented on August 22, 2024

/admin/index.php文件下
if (if_login()) {
header('Location: ./');
}
有判断是否登录进行跳转的。不是你修改过什么?
数据库配置文件:config.php有生成在根目录下吗?

from 94list.

Aqr-K avatar Aqr-K commented on August 22, 2024

/admin/index.php文件下 if (if_login()) { header('Location: ./'); } 有判断是否登录进行跳转的。不是你修改过什么? 数据库配置文件:config.php有生成在根目录下吗?

config.php文件确实生成了
我好像找到原因了,我扒了一下代码,发现是你原来的admin的php格式不规范,我是几天前用dockerfile打包成了镜像包,所以源码没更新到上次提到的规范问题,我手动在admin下的php文件的开头加上php,就避免了这个问题了

from 94list.

codehub666 avatar codehub666 commented on August 22, 2024

/admin/index.php文件下 if (if_login()) { header('位置: ./'); 数据库配置文件:config.php有生成在根目录下吗?

config.php文件确实生成了 我想要找到原因了,我抓取了图片代码,发现是你原来的admin的php格式不规范,我是几天前完成了类似的,所以源码没有更新到前面提到的的规范问题

是的,代码没做封闭导致:。疏忽其他环境没办法自动识别代码。后面代码我也已做修整。

from 94list.

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.