Project

General

Profile

« Previous | Next » 

Revision 1451

Added by Dietmar over 13 years ago

replace eregi with pregmatch in search_modext (Tks to Thorn)

View differences:

branches/2.8.x/CHANGELOG
11 11
! = Update/Change
12 12

  
13 13
------------------------------------- 2.8.2 -------------------------------------
14
29 May-2011 Build 1451 Dietmar Woellbrink (Luisehahne)
15
# replace eregi with pregmatch in search_modext (Tks to Thorn)
14 16
22 May-2011 Build 1450 Werner v.d.Decken(DarkViper)
15 17
# small fix at calling of moveCssToHead() in /index.php
16 18
07 May-2011 Build 1449 Werner v.d.Decken(DarkViper)
branches/2.8.x/wb/admin/interface/version.php
52 52

  
53 53
// check if defined to avoid errors during installation (redirect to admin panel fails if PHP error/warnings are enabled)
54 54
if(!defined('VERSION')) define('VERSION', '2.8.2.RC5');
55
if(!defined('REVISION')) define('REVISION', '1450');
55
if(!defined('REVISION')) define('REVISION', '1451');
56 56

  
57 57
?>
branches/2.8.x/wb/search/search_modext.php
362 362
		return $files;
363 363
	foreach($files as $file) {
364 364
		if($keep) {
365
			if(eregi($str, $file)) {
365
			if(preg_match("~$str~i", $file)) {
366 366
				$c_filelist[] = $file;
367 367
			}
368 368
		} else {
369
			if(!eregi($str, $file)) {
369
			if(!preg_match("~$str~i", $file)) {
370 370
				$c_filelist[] = $file;
371 371
			}
372 372
		}

Also available in: Unified diff