Closed oNdsen closed 2 years ago
Why did you change the path for XXTEA? Where is this failing for you?
In most of the code, lib_remote is loaded like this:
require_once('includes/lib_remote.php');
Thus, the active path is still currently the root OGP directory. If that were not the case, all of the require_once
calls would fail and prevent further execution of the code if the path weren't correct in the first place.
My Goal are to implement additional Hooks in my Themes. To get Agent Informations like Crobjob i need to call to include the functions (i will not rewrite every function again...)
I still don't understand why you need this, but could you give me an example?
i want to check in my theme driver (php script) which is located in themes folder if on main server a theme specific cronjob is existent. for that i need to call the server specific agent. and gor that, i need this require path corrected, to include this file.
Ok, well I changed it here:
This allows getting access to OGPRemoteLibrary Class from other Modules