not a bug, but a question... not a bug, but a question...
 

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

not a bug, but a question...

Started by sigi, December 08, 2003, 12:49:53 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

sigi

Hi

in the Blocks there is always a function truncate_string(x) ... this function is repeated in every block, with a slight differencer in the function name ...

why not use the function truncate_string() thats found in include/functions.inc.php ? and if you think that files rather big to include in a block, why not
a) put the function itself in a seperate file or
b) put it in include/load.inc-php thats used by every blockfile ?
Siegfried Schlosser

Berlin, Germany

had a big Coppermine gallery with more than 250.000 pics  at
www.allygally.de, but due to juristical problems that is closed now ....
Now trying Coppermine 1.4.x at http://walexis.pytalhost.de/

DJMaze

functions.inc is a require_once by blocks and coppermine module so that function is always used
There are 2 kinds of users in this world: satisfied and complainers.
Why do we never hear something from the satisfied users?
http://coppermine-gallery.net/forum/index.php?topic=24315.0

gtroll

and the old truncate_stringxxx that was in the blocks was removed and added to function.inc.php so if the function is in your blocks please use the newest version of block-CPG-*

sigi

these funxctions are in the blockfiles of RC5 aka cpgnuke 1.21 ...
Siegfried Schlosser

Berlin, Germany

had a big Coppermine gallery with more than 250.000 pics  at
www.allygally.de, but due to juristical problems that is closed now ....
Now trying Coppermine 1.4.x at http://walexis.pytalhost.de/