Skip to content

Instantly share code, notes, and snippets.

@djekl
Created May 1, 2013 14:05
Show Gist options
  • Save djekl/5495446 to your computer and use it in GitHub Desktop.
Save djekl/5495446 to your computer and use it in GitHub Desktop.
substr(FCPATH, 0, -12) for the base path
+ $config['base_dir'] = substr(FCPATH, 0, -12);
- $config['base_dir'] = 'C:/xampp/htdocs/site';
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment