fix config-check error
authorAndreas Unterkircher <unki@netshadow.at>
Sun, 20 Jan 2008 14:49:00 +0000 (15:49 +0100)
committerAndreas Unterkircher <unki@netshadow.at>
Sun, 20 Jan 2008 14:49:00 +0000 (15:49 +0100)
Signed-off-by: Andreas Unterkircher <unki@netshadow.at>
phpfspot.class.php

index f1b0dc64dbf53702ab52e10c15a6b698dbfb1ca2..f32782e3a08474ec3e3e31c2ded6caeaa94f9797 100644 (file)
@@ -2425,8 +2425,8 @@ class PHPFSPOT {
       }
 
       /* check for pending slash on web_path */
-      if(!preg_match("/\/$/", $this->web_path))
-         $this->web_path.= "/";
+      if(!preg_match("/\/$/", $this->cfg->web_path))
+         $this->cfg->web_path.= "/";
 
       return $this->runtime_error;