"userpics" folder is displayed in batch-add "userpics" folder is displayed in batch-add
 

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

"userpics" folder is displayed in batch-add

Started by Joachim Müller, January 16, 2005, 12:44:01 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Joachim Müller

the userpics folder is being displayed in "traditional" batch-add (happens in file versions 1.37 and higher) - the changes fromif ($file != "." && $file != "..")to            if ($file != "." && $file != ".." && $CONFIG['fullpath'] . $folder . $file != $CONFIG['fullpath'].'/edit' && $CONFIG['fullpath'] . $folder . $file != $CONFIG['fullpath'].'/'.substr($CONFIG['userpics'],0,strlen($CONFIG['userpics'])-1)) {seems to be causing this.

Joachim

Joachim Müller


Casper

It has been a long time now since I did my little bit here, and have done no coding or any other such stuff since. I'm back to being a noob here

Joachim Müller

assigning this to myself: works on my local install, will commit as soon as I have CVS access.

Joachim

Joachim Müller


Andi

hope, I could help you... :)