Author:   Lars Michelsen <[email protected]>
Date:     Thu Apr 14 20:55:47 2011 +0200
Committer:   Lars Michelsen <[email protected]>
Commit-Date: Thu Apr 14 20:55:47 2011 +0200

Creating background images works again

---

 share/server/core/classes/GlobalBackground.php |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/share/server/core/classes/GlobalBackground.php 
b/share/server/core/classes/GlobalBackground.php
index 3ad0a2a..d3b90a0 100644
--- a/share/server/core/classes/GlobalBackground.php
+++ b/share/server/core/classes/GlobalBackground.php
@@ -159,6 +159,7 @@ class GlobalBackground {
        * @author       Lars Michelsen <[email protected]>
        */
        function createImage($color, $width, $height) {
+               $this->path = $this->CORE->getMainCfg()->getPath('sys', '', 
'backgrounds') . '/' . $this->image;
                if(!$this->checkFileExists(0)) {
                        if($this->checkFolderWriteable(1)) {
                                $image = imagecreatetruecolor($width, $height);


------------------------------------------------------------------------------
Benefiting from Server Virtualization: Beyond Initial Workload 
Consolidation -- Increasing the use of server virtualization is a top
priority.Virtualization can reduce costs, simplify management, and improve 
application availability and disaster protection. Learn more about boosting 
the value of server virtualization. http://p.sf.net/sfu/vmware-sfdev2dev
_______________________________________________
Nagvis-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/nagvis-checkins

Reply via email to