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