content table was too much right
[phpfspot.git] / phpfspot_cfg.php.dist
index 42baa169a62cacc871d91dccc82df6aa8cf9e0a2..adbe0daf9dc3587bf20379966e00cfd56a89f054 100644 (file)
@@ -117,6 +117,10 @@ class PHPFSPOT_CFG {
       if(isset($this->error_found) && $this->error_found)
          exit(1);
 
+      /* check for pending slash on web_path */
+      if(!preg_match("/\/$/", $this->web_path))
+         $this->web_path.= "/";
+
    } // __construct()
 
    private function showError($text)