Skip to content

Instantly share code, notes, and snippets.

@ideaoforder
Created March 29, 2010 20:37
Show Gist options
  • Select an option

  • Save ideaoforder/348376 to your computer and use it in GitHub Desktop.

Select an option

Save ideaoforder/348376 to your computer and use it in GitHub Desktop.
// NOTE: We have to replace the 'releases/xxxx' folder with 'current'
define('FCPATH', preg_replace('/releases\/\d*\//', 'current/', __FILE__));
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment