summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndreas Unterkircher <unki@netshadow.at>2008-01-20 15:49:00 +0100
committerAndreas Unterkircher <unki@netshadow.at>2008-01-20 15:49:00 +0100
commita0a0b23b1133d0fc28c44dd68298850c630f7b3d (patch)
tree8275ad78d86b38ba8dd4f66e6f9f7431e3754a99
parent445878d7550643488f117ed59b5169285b205a22 (diff)
fix config-check error
Signed-off-by: Andreas Unterkircher <unki@netshadow.at>
-rw-r--r--phpfspot.class.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/phpfspot.class.php b/phpfspot.class.php
index f1b0dc6..f32782e 100644
--- a/phpfspot.class.php
+++ b/phpfspot.class.php
@@ -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;