Dir.'/smilies versus Dir.'smilies in smilies.inc.php Dir.'/smilies versus Dir.'smilies in smilies.inc.php
 

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

Dir.'/smilies versus Dir.'smilies in smilies.inc.php

Started by artistsinhawaii, September 18, 2005, 06:45:30 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

artistsinhawaii

A recent message regarding a 'bug' in cpg1.33 :

Quotein functions.inc.php ~line 1250

Code:
$thumb_paths[] = $THEME_DIR.'/images/';should read

Code:
$thumb_paths[] = $THEME_DIR.'images/';
otherwise you'll get pathes like
cpg/themes/classic//images/thumb_wmv.gif 

Got me thinking 'what if?', so I did a search of the contents of all the 1.4x files for [  Dir.'/   ]
Two instances turn up in smilies.inc.php.  Is this something to be concerned about?


Dennis
Learn and live ... In January of 2011, after a botched stent attempt, the doctors told me I needed a multiple bypass surgery or I could die.  I told them I needed new doctors.

Joachim Müller

looking at the cpg1.4.x output, everything appears to be OK (no double slashes), so I guess it's OK.