Reputation: 180
I currently have the situation that in my vhost.conf
i have an entry to automatically include a file to start profiling:
php_value auto_prepend_file /home/xhprof/include/xhprof.php
This thing is in SVN and might be checked out by people who don't have xhprof installed on their system. The consequence is, that xhprof.php
is not found and PHP throws an error.
Does anybody know, if there's a possibility to check, if this file is there, before including?
thx in advance :)
Upvotes: 3
Views: 730