Skip to content

Instantly share code, notes, and snippets.

@huyby
Created November 20, 2013 13:29
Show Gist options
  • Save huyby/7563201 to your computer and use it in GitHub Desktop.
Save huyby/7563201 to your computer and use it in GitHub Desktop.
Comment out 'require_once' in Zend Framwork

OSX

$ find . -name '*.php' -not -wholename '*/Loader/Autoloader.php' -not -wholename '*/Application.php' -print0 | xargs -0 sed -i -E 's/\(require_once\)/\/\/ \1/g'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment