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

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

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