Skip to content

Instantly share code, notes, and snippets.

@leonguyen
Created July 3, 2013 03:47
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save leonguyen/5915315 to your computer and use it in GitHub Desktop.
Save leonguyen/5915315 to your computer and use it in GitHub Desktop.
CodeIgniter Lab: Create EdenHello Controller
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
class EdenHello extends CI_Controller {
public function index()
{
include(APPPATH.'libraries/eden.php');
eden()->setLoader();
eden('debug')->output('Hello World'); //--> Hello World
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment