如何处理CodeIgniter中的多个项目? [英] How to Handle Multiple Projects in CodeIgniter?

查看:257
本文介绍了如何处理CodeIgniter中的多个项目?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在Visual Studio中编码时,我可以有多个网站项目,我可以通过打开本地驱动器上的每个网站项目在它们之间切换。我困惑于CodeIgniter如何在Visual Studio中处理此操作。看来编程环境是实际的安装位置。我如何开始编码一个新的网站,同时保留上一个的代码?

When coding in Visual Studio, I can have multiple website projects, and I'm able to switch between them by opening each website project on the local drive. I'm confused at how CodeIgniter handles this operation in Visual Studio. It seems the programming environment is the actual install location. How do I start to code a new website while preserving the code of the previous one? Is there a script to package a project, export the package, and then import it later?

推荐答案

Codeigniter的文档引导您完成< a href =http://codeigniter.com/user_guide/general/managing_apps.html =nofollow noreferrer>使用一个安装来管理多个应用程序

Codeigniter's documentation walks you through managing multiple applications with one installation

如上面的链接所示,在构建应用程序文件夹之后,

As noted in the link above, after structuring your application folder,


每个应用程序都需要
自己的索引.php文件,它调用
所需的应用程序。

Each of your applications will need its own index.php file which calls the desired application.

这篇关于如何处理CodeIgniter中的多个项目?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆