Advanced search  

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

Pages: [1]   Go Down

Author Topic: Dir.'/smilies versus Dir.'smilies in smilies.inc.php  (Read 4537 times)

0 Members and 1 Guest are viewing this topic.

artistsinhawaii

  • VIP
  • Coppermine addict
  • ***
  • Country: us
  • Offline Offline
  • Gender: Male
  • Posts: 856
    • evj art and photography
Dir.'/smilies versus Dir.'smilies in smilies.inc.php
« on: September 18, 2005, 06:45:30 am »

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

Quote
in 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
« Last Edit: October 21, 2005, 11:33:30 pm by GauGau »
Logged
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

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Dir.'/smilies versus Dir.'smilies in smilies.inc.php
« Reply #1 on: October 21, 2005, 11:33:13 pm »

looking at the cpg1.4.x output, everything appears to be OK (no double slashes), so I guess it's OK.
Logged
Pages: [1]   Go Up
 

Page created in 0.017 seconds with 20 queries.