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

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

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.