Skip to content

Instantly share code, notes, and snippets.

@anova
Created November 24, 2020 12:58
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 anova/0eb13948fa4d0338ef6de256cde220b1 to your computer and use it in GitHub Desktop.
Save anova/0eb13948fa4d0338ef6de256cde220b1 to your computer and use it in GitHub Desktop.
ZF1 set include path
<?php
// https://stackoverflow.com/a/6840407
set_include_path(implode(PATH_SEPARATOR, array(
__DIR__ . '/',
get_include_path()
)));
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment