Advanced search  

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Pages: [1]   Go Down

Author Topic: Re: How do I call a php page that can use the includes if its stored in plugins/  (Read 3426 times)

0 Members and 1 Guest are viewing this topic.

jpaffett

  • Contributor
  • Coppermine novice
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 38
    • Lesvosisland.com

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
Pages: [1]   Go Up
 

Page created in 0.019 seconds with 20 queries.