Is there any way to determine the file which has called one other. E.g.
FILE one.php
:
include('two.php');
...
FILE two.php
:
// This file do some stuff
I'm getting a 500 internal server error on two.php
(unexpected end of file in two.php).
However, the file has not an unexpected EOF, so I'm guessing that the issue comes from the file one.php
. The problem is that I don't know which is that file. Any ideas?