Projects ⇒ Bugs ⇒ #1067: uploading smilies pak ⇒ CPG Dragonfly™ CMS
Bug #1067 uploading smilies pak
Project: Dragonfly 9.0.3 -> 9.3 Category: *General Issues
Submitted: Wednesday, August 20, 2008 (21:58:38) Modified: Friday, August 22, 2008 (21:49:09)
Status: Closed Assigned to:
PHP Version: 5.2 HTTPD Server: Apache 1.3

View/Vote Add Comment

by: NanoCaiordo
Description:
------------
Modified Files:
Tag: Df-9_2_1
smilies.php
Log Message:
changed ereg to preg_match

Index: smilies.php
===================================================================
RCS file: /cvs/html/admin/modules/smilies.php,v
retrieving revision 9.15
retrieving revision 9.15.4.1
diff -C2 -d -r9.15 -r9.15.4.1
*** smilies.php 23 Apr 2007 10:34:33 -0000 9.15
--- smilies.php 20 Aug 2008 10:55:26 -0000 9.15.4.1
***************
*** 50,54 ****
if ( $img_size[0] && $img_size[1] ) {
$smiley_images[] = $file;
! } else if( eregi('.pak$', $file) ) {
$smiley_paks[] = $file;
}
--- 50,54 ----
if ( $img_size[0] && $img_size[1] ) {
$smiley_images[] = $file;
! } else if( preg_match('#\.pak$#', $file) ) {
$smiley_paks[] = $file;
}
User Info

Welcome Anonymous



(Register)
Community

Support for DragonflyCMS in a other languages:

Deutsch
Español