简体   繁体   English

检测是否首先启动CodeIgniter脚本

[英]Detect whether CodeIgniter script is first started

I am developing a CodeIgniter app that can be downloaded and self-hosted. 我正在开发一个可以下载并自行托管的CodeIgniter应用程序。 Like the most applications this should have an installation page. 像大多数应用程序一样,它应该具有安装页面。 The problem is I don't know how to detect whether it is installed or not, does anybody of you have an idea? 问题是我不知道如何检测它是否已安装,你们中有人有想法吗?

it depends on how do you install it. 这取决于您如何安装它。

maybe you can set a db field on/off or 1/0 to check if codeigniter has been installed. 也许您可以将db字段设置为开/关或1/0,以检查是否已安装codeigniter。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM