From: Andreas Unterkircher Date: Sun, 20 Jan 2008 14:49:00 +0000 (+0100) Subject: fix config-check error X-Git-Url: https://git.nubati.net/cgi-bin/gitweb.cgi?p=phpfspot.git;a=commitdiff_plain;h=a0a0b23b1133d0fc28c44dd68298850c630f7b3d;hp=445878d7550643488f117ed59b5169285b205a22 fix config-check error Signed-off-by: Andreas Unterkircher --- 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;