joomla - finding file being called in php -
okay have joomla
site uses compponet used create events or booking times. problem can't find form file trying access within joomla administrator componets
directory com
of plugin. here url of form makeanappointment/create?dtstart=201404250930&cal_id=5
so question is there script can run in php find out files being called in , location?
david
theres php function called get_included_files()
returns list of files loaded via include
, include_once
, require
, require_once
.
it may bit primitive looking (it doesn't have caller line numbers etc), @ least show files used during particular execution. add call function near end of main script.
since returns array you'll need dump contents (i.e. print_r(get_included_files())
.
see get_included_files()
manual page on php.net more usage details.
Comments
Post a Comment