diff options
Diffstat (limited to 'phpfspot_cfg.php.dist')
-rw-r--r-- | phpfspot_cfg.php.dist | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/phpfspot_cfg.php.dist b/phpfspot_cfg.php.dist index 42baa16..adbe0da 100644 --- a/phpfspot_cfg.php.dist +++ b/phpfspot_cfg.php.dist @@ -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) |