This repository was archived by the owner on Oct 11, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Installation Manual
Circle Creative edited this page Mar 12, 2015
·
1 revision
Please read this installation manual carefully!
O2System Third-Party for CodeIgniter is a replacement bootstrap of original CodeIgniter bootstrap to bring awesomeness of O2System Core Framework and Libraries into CodeIgniter Framework.
To install O2System is the first and the easiest step.
- Download this repository, for different CodeIgniter version please choose the repository branch, the master branch is built for CodeIgniter v2.2
- Copy and Paste to your CodeIgniter Project (Recommended: Start from original CodeIgniter)
- Confirm the replacement of index.php (@root of your project folder)
- Open the index.php file with your favourite IDE. At the very bottom of the index.php, find:
/*
* --------------------------------------------------------------------
* LOAD THE BOOTSTRAP FILE
* --------------------------------------------------------------------
*
* And away we go...
*
*/
require_once BASEPATH.'core/CodeIgniter.php'; // Comment Out This Line!
- Place this code below the commented line from the first step
/*
* --------------------------------------------------------------------
* LOAD THE O2SYSTEM BOOTSTRAP FILE
* --------------------------------------------------------------------
*/
require_once APPPATH.'third_party/o2system/core/O2System.php';
- If you want to build multiple applications, you must define the base app at the index.php and place it before the second step, skip this step if you want to use as single application development
/*
*---------------------------------------------------------------
* APPLICATION DEFAULT
*---------------------------------------------------------------
*
* You can define the default base application which is loaded at first
* for example: for developed website with separated content management system
* you can use site as default and the cms can be accessed by request based on URL request.
*
*/
define('BASEAPP', 'baseapp');
- Make sure you are seeing the O2System Welcome Page if you open the application at the first time