[MOD]: ZIPDOWNLOAD.php Automatically recognizes image directory. [MOD]: ZIPDOWNLOAD.php Automatically recognizes image directory.
 

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]

Main Menu

[MOD]: ZIPDOWNLOAD.php Automatically recognizes image directory.

Started by bit bit spears, September 02, 2004, 03:01:44 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

bit bit spears

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:
$cwd = './albums';

Change to:
$cwd = $CONFIG['fullpath'];

There ya go!
(only tested on 1.3.x)

Joachim Müller

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

Joachim

bit bit spears

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.

Joachim Müller

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

Joachim