summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndreas Unterkircher <unki@netshadow.at>2007-11-03 13:38:38 +0000
committerAndreas Unterkircher <unki@netshadow.at>2007-11-03 13:38:38 +0000
commit6584ea730d28eac95ad421783c583d2d2ad59852 (patch)
tree63d31f97fbd60dd38e33243a85f6d684398711d9
parent6a54409eb044948947f409466a734764670c0027 (diff)
issue76, check if thumb_path is set
git-svn-id: file:///var/lib/svn/phpfspot/trunk@294 fa6a889d-dae6-447d-9e79-4ba9a3039384
-rw-r--r--phpfspot_cfg.php.dist3
1 files changed, 3 insertions, 0 deletions
diff --git a/phpfspot_cfg.php.dist b/phpfspot_cfg.php.dist
index 2661bc9..176a9e5 100644
--- a/phpfspot_cfg.php.dist
+++ b/phpfspot_cfg.php.dist
@@ -109,6 +109,9 @@ class PHPFSPOT_CFG {
if(!isset($this->web_path) || $this->web_path == "")
$this->showError("Please set \$web_path in phpfspot_cfg");
+ if(!isset($this->thumb_path) || $this->thumb_path == "")
+ $this->showError("Please set \$thumb_path in phpfspot_cfg");
+
if(!isset($this->smarty_path) || $this->smarty_path == "")
$this->showError("Please set \$smarty_path in phpfspot_cfg");