获取所有的引入文件,一般这句放在controller的结束位置
$included_files = get_included_files();
file_put_contents('/tmp/xxx',implode("\r\n", $included_files));
获取所有的引入文件,一般这句放在controller的结束位置
$included_files = get_included_files();
file_put_contents('/tmp/xxx',implode("\r\n", $included_files));