development:php:who_included_me

Which PHP page included me?

$fileList = get_included_files();
$topMost = $fileList[0];
if ($topMost == __FILE__) echo 'no parents';
else echo "parent is $topMost";
$caller_tmp=explode("/",__FILE__);$caller=end($caller_tmp);
Enter your comment:
204 -2 = 
 
  • development/php/who_included_me.txt
  • Last modified: 2019/10/31 09:05
  • by 127.0.0.1