|
@@ 2306-2309 (lines=4) @@
|
| 2303 |
|
$this->DebugMessage('!function_exists(imagerotate)', __FILE__, __LINE__); |
| 2304 |
|
return false; |
| 2305 |
|
} |
| 2306 |
|
if (!include_once(dirname(__FILE__).'/phpthumb.filters.php')) { |
| 2307 |
|
$this->DebugMessage('Error including "'.dirname(__FILE__).'/phpthumb.filters.php" which is required for applying filters ('.implode(';', $this->fltr).')', __FILE__, __LINE__); |
| 2308 |
|
return false; |
| 2309 |
|
} |
| 2310 |
|
|
| 2311 |
|
$this->config_background_hexcolor = ($this->bg ? $this->bg : $this->config_background_hexcolor); |
| 2312 |
|
if (!phpthumb_functions::IsHexColor($this->config_background_hexcolor)) { |
|
@@ 2643-2646 (lines=4) @@
|
| 2640 |
|
|
| 2641 |
|
function ApplyFilters() { |
| 2642 |
|
if ($this->fltr && is_array($this->fltr)) { |
| 2643 |
|
if (!include_once(dirname(__FILE__).'/phpthumb.filters.php')) { |
| 2644 |
|
$this->DebugMessage('Error including "'.dirname(__FILE__).'/phpthumb.filters.php" which is required for applying filters ('.implode(';', $this->fltr).')', __FILE__, __LINE__); |
| 2645 |
|
return false; |
| 2646 |
|
} |
| 2647 |
|
$phpthumbFilters = new phpthumb_filters(); |
| 2648 |
|
$phpthumbFilters->phpThumbObject = &$this; |
| 2649 |
|
foreach ($this->fltr as $filtercommand) { |