include & require


Note! If A require(B), and C require(A), relative path in A will fail!

Another example:

  • File A: /folder1/A
  • File B: /folder1/B
  • File C: /folder1/folder2/C

B include(A)
C include(B)
This will cause a error because B will fail to find A because the path become '/folder1/folder2/A'


One thought on “include & require

  1. Just want to say your article is as astonishing.
    The clearness in your post is simply excellent and i could assume you’re an expert on this subject. Well with your permission let me to grab your feed to keep up to date with forthcoming post. Thanks a million and please continue the gratifying work.

Comments are closed.