Index: trunk/kernel/include/image.php
===================================================================
diff -u -N -r782 -r832
--- trunk/kernel/include/image.php (.../image.php) (revision 782)
+++ trunk/kernel/include/image.php (.../image.php) (revision 832)
@@ -130,8 +130,8 @@
$result=FALSE;
if($this->Get("LocalImage")==1 && $this->Get("SameImages")==0)
{
- //$imagepath = $pathtoroot.$this->Get("LocalPath");
- $imagepath = $this->GetImageDir().$this->GetFileName();
+ $imagepath = $pathtoroot.$this->Get("LocalPath");
+// $imagepath = $this->GetImageDir().$this->GetFileName();
// echo "PATH: ".$this->GetImageDir()."; FILE: ".$this->GetFileName()."
";
@@ -169,7 +169,8 @@
{
if($this->LocalImageExists())
{
- $filename = $this->GetImageDir().$this->GetFileName();
+// $filename = $this->GetImageDir().$this->GetFileName();
+ $filename = $pathtoroot.$this->Get("LocalPath");
// echo "FULL: $filename
\n";
@unlink($filename);
}