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: [MOD]: ZIPDOWNLOAD.php Automatically recognizes image directory.  (Read 2811 times)

0 Members and 1 Guest are viewing this topic.

bit bit spears

  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 240
    • TangibleBrit.com
[MOD]: ZIPDOWNLOAD.php Automatically recognizes image directory.
« on: September 02, 2004, 03:01:44 am »

I've noticed that when you download the coppermine program, (and install it) you must also edit zipdownload.php to match with your albums directory. I've got a different directory to store images in, and i don't want to have to change zipdownload each time i change directories. This way, in config, it will automatically update zipdownload.php with the admin defined album directory!

Find line:
Code: [Select]
$cwd = './albums';
Change to:
Code: [Select]
$cwd = $CONFIG['fullpath'];
There ya go!
(only tested on 1.3.x)
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: [MOD]: ZIPDOWNLOAD.php Automatically recognizes image directory.
« Reply #1 on: September 02, 2004, 06:55:46 am »

This has been reported before, so your posting is neither a mod nor a bugfix, but just invalid  ;)

Joachim
Logged

bit bit spears

  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 240
    • TangibleBrit.com
Re: [MOD]: ZIPDOWNLOAD.php Automatically recognizes image directory.
« Reply #2 on: September 04, 2004, 04:05:50 am »

well sorry gaugau-you don't need to be so freaking rude! i didn't know ok? and its not invalid, it works just great~!

 ::) i just can't post anything anymore without you being so rude to me. obviously i dont ask for help anymore-so get rid of your grudge.
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: [MOD]: ZIPDOWNLOAD.php Automatically recognizes image directory.
« Reply #3 on: September 04, 2004, 11:10:09 am »

OK, switching to sweet talk mode: *clearing throat* "thanks for your excellent contribution. Looking forward to hear more from your. Yours sincerly"

Joachim
Logged
Pages: [1]   Go Up
 

Page created in 0.034 seconds with 15 queries.