Advanced search  

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Pages: [1]   Go Down

Author Topic: setting a constant path  (Read 3202 times)

0 Members and 1 Guest are viewing this topic.

soaker

  • Coppermine newbie
  • Offline Offline
  • Posts: 7
setting a constant path
« on: July 22, 2008, 09:49:20 pm »

is there anyway I can set a constant path?

right now all paths in the CPG point to ex: /include/blahblah.php

do I have to manually set each path or is there anywhere I can define the actual path for ALL files?

Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: setting a constant path
« Reply #1 on: July 23, 2008, 07:20:14 am »

Are you trying to include coppermine into another app using PHP's include/require command? You can't - that's simply not the way how coppermine is designed to work. There is no overall constant that you could possibly change, you'd have to change nearly all files that come with coppermine to accomplish what you're up to. Why don't you describe instead what you actually want to accomplish instead of asking for help on how to change the include path? Maybe we could suggest a solution that you haven't been thinking of so far.
Logged

soaker

  • Coppermine newbie
  • Offline Offline
  • Posts: 7
Re: setting a constant path
« Reply #2 on: July 23, 2008, 11:12:19 am »

ok basically, i'm attempting to integrate the headers and footers of vbulletin into coppermine. I already have CPG integrated with the VB db.

I know its been asked a dozen times, but for the life of me I havent found a real solution. From my research there may be an issue/cookie conflict, etc. I'm not sure of the issues.

But there has GOT to be a way!

Just simply integrate the header and footer.

Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: setting a constant path
« Reply #3 on: July 23, 2008, 07:00:36 pm »

i'm attempting to integrate the headers and footers of vbulletin into coppermine.
You can't.
I know its been asked a dozen times, but for the life of me I havent found a real solution.
Answer remains the same no matter how often people ask though: that's not how coppermine works.


But there has GOT to be a way!
Wishfull thinking!

The headers of your other app use includes and they manipulate the http headers. You can't accomplish what you're up to. That's why we suggest in the docs to create a coppermine theme that matches the layout of your overall site. We do not recommend to include the other app. We give this recommendation because we know our way around coppermine pretty well.
Logged
Pages: [1]   Go Up
 

Page created in 0.015 seconds with 15 queries.