code_junkie

Can require_once be used with symbolic links?

Nov 11th, 2011
122
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.09 KB | None | 0 0
  1. if (is_link($path))
  2. {
  3. $path = readlink($path);
  4. }
  5. require_once($path);
Add Comment
Please, Sign In to add comment