coppermine-gallery.com/forum

Support => Older/other versions => cpg1.3.x Support => Topic started by: bit bit spears on September 02, 2004, 03:01:44 AM

Title: [MOD]: ZIPDOWNLOAD.php Automatically recognizes image directory.
Post by: bit bit spears 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:
$cwd = './albums';

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

There ya go!
(only tested on 1.3.x)
Title: Re: [MOD]: ZIPDOWNLOAD.php Automatically recognizes image directory.
Post by: Joachim Müller on September 02, 2004, 06:55:46 AM
This has been reported before (http://forum.coppermine-gallery.net/index.php?topic=9194.0), so your posting is neither a mod nor a bugfix, but just invalid  ;)

Joachim
Title: Re: [MOD]: ZIPDOWNLOAD.php Automatically recognizes image directory.
Post by: bit bit spears 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.
Title: Re: [MOD]: ZIPDOWNLOAD.php Automatically recognizes image directory.
Post by: Joachim Müller 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