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

News:

CPG Release 1.6.27
change DB IP storage fields to accommodate IPv6 addresses
remove use of E_STRICT (PHP 8.4 deprecated)
update README to reflect new website
align code with new .com CPG website
correct deprecation in captcha

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.