Project

General

Profile

« Previous | Next » 

Revision 1476

Added by Dietmar over 13 years ago

! optimize blacklist handling, add more separator ",#|;"
set of a wildcard ".*?" e.g. ph.*? proof ext like php, php3, php4 etc.
  1. fix sctrict warnings in media if default theme ist not Argos Theme
    + add new settings value in install, upgrade-script and core module

View differences:

parameters.php
2 2
/**
3 3
 *
4 4
 * @category        admin
5
 * @package         admintools
5
 * @package         media
6 6
 * @author          WebsiteBaker Project
7 7
 * @copyright       2004-2009, Ryan Djurovich
8 8
 * @copyright       2009-2011, Website Baker Org. e.V.
......
24 24
	return unserialize($__ret);
25 25
}
26 26
$pathsettings = array();
27
$query = $database->query ( "SELECT * FROM ".TABLE_PREFIX."settings where `name`='mediasettings'" );
28
if ($query && $query->numRows() > 0) {
29
	$settings = $query->fetchRow();
30
	$pathsettings = __unserialize($settings['value']);
31
} else {
32
	$database->query ( "INSERT INTO ".TABLE_PREFIX."settings (`name`,`value`) VALUES ('mediasettings','')" );
27
if(DEFAULT_THEME != ' wb_theme') {
28
	$query = $database->query ( "SELECT * FROM ".TABLE_PREFIX."settings where `name`='mediasettings'" );
29
	if ($query && $query->numRows() > 0) {
30
		$settings = $query->fetchRow();
31
		$pathsettings = __unserialize($settings['value']);
32
	} else {
33
		$database->query ( "INSERT INTO ".TABLE_PREFIX."settings (`name`,`value`) VALUES ('mediasettings','')" );
34
	}
33 35
}
34 36

  

Also available in: Unified diff