Created
October 17, 2012 13:58
-
-
Save boo1ean/3905645 to your computer and use it in GitHub Desktop.
Extend php include path
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
set_include_path(implode(PATH_SEPARATOR, array( | |
realpath(APPLICATION_PATH . '/../../libraries/'), | |
realpath(APPLICATION_PATH . '/../../etc/'), | |
// ... | |
// Some other stuff | |
// ... | |
get_include_path() | |
))); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment