Skip to content

Instantly share code, notes, and snippets.

@philsturgeon
Created January 27, 2010 12:13
Show Gist options
  • Save philsturgeon/287792 to your computer and use it in GitHub Desktop.
Save philsturgeon/287792 to your computer and use it in GitHub Desktop.
<?php if (!defined('BASEPATH')) exit('No direct script access allowed');
class MY_Config extends CI_Config
{
function __get($item)
{
return parent::item($item);
}
function __set($item, $value)
{
return parent::set_item($item, $value);
}
}
@anoxic
Copy link

anoxic commented Jul 22, 2013

On line 1, is BASEPATH something you define manually in (for example) index.php?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment