From a0a0b23b1133d0fc28c44dd68298850c630f7b3d Mon Sep 17 00:00:00 2001 From: Andreas Unterkircher Date: Sun, 20 Jan 2008 15:49:00 +0100 Subject: fix config-check error Signed-off-by: Andreas Unterkircher --- phpfspot.class.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'phpfspot.class.php') 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; -- cgit v1.2.3-18-g5258