Re: How do I call a php page that can use the includes if its stored in plugins/ Re: How do I call a php page that can use the includes if its stored in plugins/
 

News:

CPG Release 1.6.27
change DB IP storage fields to accommodate IPv6 addresses
remove use of E_STRICT (PHP 8.4 deprecated)
update README to reflect new website
align code with new .com CPG website
correct deprecation in captcha

Main Menu

Re: How do I call a php page that can use the includes if its stored in plugins/

Started by jpaffett, March 13, 2005, 06:52:14 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

jpaffett

The problem occurs where you're trying to use or port an existing script. I'm trying to port an image editor, which was originally written as a plugin for HTMLArea and the only way to do this with your method is to go through the whole thing and recode the references, as it is now effectively running from the sites root directory.

donnoman is obviously seeing the same problem with HTMLArea for the minicms: "It hosed up htmlarea pretty good, though I've got some of the functionality back. It will just take time to carefully go through and re-hardcode the path to plugins/minicms/htmlarea ...."

Obviously it's better not to have to do this, but be able to plug these scripts in and go.

Jeff