How to Include Framework Class in Custom Scripts in Reports
Content
Hi,
Taking a cue from https://cloudcustomerconnect.oracle.com/posts/ef33c4db85, I intend to include a CP core file into my custom script. But I'm struggling to do so and need your help here. I've tried the following so far:
// failed<br /> require_once("/cgi-bin/abc.cfg/scripts/cp/src/core/framework/Utils/Framework.php");<br /> <br /> // failed<br /> require_once(get_cfg_var('doc_root')."/include/Utils/Framework.php");<br /> <br /> // failed<br /> require_once(get_cfg_var('doc_root')."/cp/core/framework/Utils/Framework.php");<br />
The sole aim is to be able to use the
Tagged:
0