About the codeigniter of the front and rear desk directory

Source: Internet
Author: User
Tags codeigniter

Recent projects have been using CodeIgniter, CodeIgniter is a lightweight framework, itself does not integrate smarty, so give developers a lot of space.

Although the project has been in Sina, nothing is changed data what, is an internal system so only backstage, I think since the use of this framework, it used well.

So we studied a directory of how to build the front and back. On the internet also found some information, with a bit did not succeed, on their own methods, really can be seen, volunteers see Chi.

The directory of my test project is as follows.


The home and admin folders are front and rear, and index.php,admin.php are the entry files of the former backstage respectively.


Home and Admin folder files:




Also to modify the code of the portal file, the code is as follows:
index.php
$system _path = ' system '; $application _folder = ' application/home ';

admin.php
$system _path = ' system '; $application _folder = ' application/admin ';

where $system _path = ' system '; is the core document of CI

$application _folder = ' application/home '; is the program directory of the website

The last access address is: Http://127.0.0.1/cs/index.php/user/user/login (this is based on my system).

Made on 2014/12/17 15:38 Beijing Zhong Guan cun


About the codeigniter of the front and rear desk directory

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.