Skip to content

Instantly share code, notes, and snippets.

@AlexMcowkin
Created March 20, 2015 11:28
Show Gist options
  • Save AlexMcowkin/db22a88ea76de552045f to your computer and use it in GitHub Desktop.
Save AlexMcowkin/db22a88ea76de552045f to your computer and use it in GitHub Desktop.
PHP get full root path for config files
<?php
echo getcwd();
?>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment